ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/HostUpdate.hpp
(Generate patch)

Comparing HostUpdate/HostUpdate.hpp (file contents):
Revision 19 by Douglas Thrift, 2003-11-10T19:46:19-08:00 vs.
Revision 22 by Douglas Thrift, 2003-11-10T23:58:38-08:00

# Line 15 | Line 15
15   #include <map>
16   #include <cstdlib>
17   #include <ctime>
18 + #include <cstring>
19  
20   using namespace std;
21  
# Line 48 | Line 49 | inline string sgetenv(const string& name
49          return value != NULL ? value : "";
50   }
51  
52 + class Host;
53 +
54   class HostUpdate
55   {
56   private:
57          multimap<string, string> cgi;
58 +        bool host;
59 +        bool name;
60 +        bool address;
61 +        bool platform;
62 +        bool since;
63          void parse(const string& method);
64 +        void mode();
65          void update(const string& agent);
66          void display();
67 +        void display(const Host& host);
68   public:
69          HostUpdate();
70 <        ~HostUpdate();
70 >        ~HostUpdate() {}
71   };
72  
73   #endif // _HostUpdate_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines