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

Comparing HostStatus/HostStatus.hpp (file contents):
Revision 28 by Douglas Thrift, 2003-11-14T11:45:06-08:00 vs.
Revision 32 by Douglas Thrift, 2003-11-14T23:44:08-08:00

# Line 7 | Line 7
7   #ifndef _HostStatus_hpp_
8   #define _HostStatus_hpp_
9  
10 + #define _BSD_SOURCE
11 +
12   #include <iostream>
13   #include <string>
14   #include <sstream>
# Line 33 | Line 35 | class HostStatus
35   {
36   private:
37          multimap<string, string> cgi;
38 <        void parse();
39 <        void mode();
40 <        void display();
38 >        enum Format {page, table};
39 >        Format format;
40 >        void parse(const string& method);
41 >        void display(const string& method);
42   public:
43          HostStatus();
44          ~HostStatus() {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines