X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/7330f4df8b31e66f6557bf49c9c90ad9a73ff459..ced53a741a3a11da53920ee0bb86adb4e3a7c931:/methods/http.h?ds=sidebyside diff --git a/methods/http.h b/methods/http.h index 112ce171d..5406ce4a7 100644 --- a/methods/http.h +++ b/methods/http.h @@ -3,7 +3,7 @@ // $Id: http.h,v 1.12 2002/04/18 05:09:38 jgg Exp $ /* ###################################################################### - HTTP Acquire Method - This is the HTTP aquire method for APT. + HTTP Acquire Method - This is the HTTP acquire method for APT. ##################################################################### */ /*}}}*/ @@ -12,14 +12,18 @@ #define APT_HTTP_H #include +#include #include +#include +#include #include "server.h" using std::cout; using std::endl; +class FileFd; class HttpMethod; class Hashes; @@ -126,6 +130,7 @@ class HttpMethod : public ServerMethod virtual bool Configuration(std::string Message); virtual ServerState * CreateServerState(URI uri); + virtual void RotateDNS(); protected: std::string AutoDetectProxyCmd;