# | 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() {} |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |