X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e7aea3985734af1702fde6e2b0af90b992425334..410ea6525d613fe91029d5a6526254739fc5880b:/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();