]> git.saurik.com Git - apt.git/blobdiff - methods/server.h
tests: don't do boundless string compares with data()
[apt.git] / methods / server.h
index f2868c96a533992da004efe996ffb8d05ac3b9e3..1d114354f2a85ae7149b454111b1240d78746a9c 100644 (file)
@@ -156,8 +156,11 @@ class ServerMethod : public aptMethod
    virtual void SendReq(FetchItem *Itm) = 0;
    virtual std::unique_ptr<ServerState> CreateServerState(URI const &uri) = 0;
    virtual void RotateDNS() = 0;
+   virtual bool Configuration(std::string Message) APT_OVERRIDE;
 
-   ServerMethod(char const * const Binary, char const * const Ver,unsigned long const Flags);
+   bool AddProxyAuth(URI &Proxy, URI const &Server) const;
+
+   ServerMethod(std::string &&Binary, char const * const Ver,unsigned long const Flags);
    virtual ~ServerMethod() {};
 };