X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/189bb640d2443a5fcaade2ce169429c629ba3148..91bee655abd9091eee0687dc3689744217c6cdb4:/methods/mirror.h diff --git a/methods/mirror.h b/methods/mirror.h index 0a3ea6e92..97d18144a 100644 --- a/methods/mirror.h +++ b/methods/mirror.h @@ -29,11 +29,13 @@ class MirrorMethod : public HttpMethod vector AllMirrors; // all available mirrors string MirrorFile; // the file that contains the list of mirrors bool DownloadedMirrorFile; // already downloaded this session + string Dist; // the target distrubtion (e.g. sid, oneiric) bool Debug; protected: bool DownloadMirrorFile(string uri); + bool RandomizeMirrorFile(string file); string GetMirrorFileName(string uri); bool InitMirrors(); bool TryNextMirror();