// -*- mode: cpp; mode: fold -*-
-// Description /*{{{*/
-// $Id: http.h,v 1.3 1998/11/04 07:10:50 jgg Exp $
+// Description /*{{{*/// $Id: http.h,v 1.6 1998/12/10 05:39:56 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
bool Flush(ServerState *Srv);
bool ServerDie(ServerState *Srv);
int DealWithHeaders(FetchResult &Res,ServerState *Srv);
+
+ virtual bool Fetch(FetchItem *);
+ virtual bool Configuration(string Message);
// In the event of a fatal signal this file will be closed and timestamped.
static string FailFile;
public:
friend ServerState;
- int Depth;
FileFd *File;
+ ServerState *Server;
int Loop();
- HttpMethod() : pkgAcqMethod("1.2",SingleInstance | Pipeline | SendConfig)
+ HttpMethod() : pkgAcqMethod("1.2",Pipeline | SendConfig)
{
- Depth = 0;
File = 0;
- Depth = 0;
+ Server = 0;
};
};