ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Search/HttpHandler.h
(Generate patch)

Comparing trunk/Search/HttpHandler.h (file contents):
Revision 13 by douglas, 2002-12-06T19:56:56-08:00 vs.
Revision 14 by douglas, 2002-12-07T00:19:03-08:00

# Line 82 | Line 82 | inline int closesocket(SOCKET s) { retur
82   class HttpHandler
83   {
84   private:
85 + #ifdef _WIN32
86 +        WSADATA data;
87 + #endif // _WIN32
88          SOCKET http;
89 +        char* buffer;
90          int begin;
91          string page;
92          string type;
93          unsigned length;
94 +        void putline(const string line = "");
95          void error(const string prefix, bool host = false);
96   public:
97          HttpHandler();
98          ~HttpHandler();
99 <        bool connect(URL& url, bool head = false);
99 >        bool handle(URL& url, bool head = false);
100          HttpHandler& getline(string& line, char endline = '\n');
101          bool good();
102          void clear();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines