]> git.saurik.com Git - apt-legacy.git/blame - methods/http.h
Remove code that isn't being used with Apple http.
[apt-legacy.git] / methods / http.h
CommitLineData
da6ee469
JF
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/// $Id: http.h,v 1.12 2002/04/18 05:09:38 jgg Exp $
3// $Id: http.h,v 1.12 2002/04/18 05:09:38 jgg Exp $
4/* ######################################################################
5
00ec24d0 6 HTTP Acquire Method - This is the HTTP aquire method for APT.
da6ee469
JF
7
8 ##################################################################### */
9 /*}}}*/
10
11#ifndef APT_HTTP_H
12#define APT_HTTP_H
13
14#define MAXLEN 360
15
16#include <iostream>
17
18using std::cout;
19using std::endl;
20
da6ee469
JF
21class HttpMethod : public pkgAcqMethod
22{
da6ee469
JF
23 virtual bool Configuration(string Message);
24
25 // In the event of a fatal signal this file will be closed and timestamped.
26 static string FailFile;
27 static int FailFd;
28 static time_t FailTime;
29 static void SigTerm(int);
30
0e5943eb
JF
31 string NextURI;
32
da6ee469 33 public:
da6ee469 34 FileFd *File;
da6ee469
JF
35
36 int Loop();
37
38 HttpMethod() : pkgAcqMethod("1.2",Pipeline | SendConfig)
39 {
40 File = 0;
da6ee469
JF
41 };
42};
43
da6ee469 44#endif