ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 162
Committed: 2004-06-17T15:51:47-07:00 (21 years ago) by Douglas Thrift
File size: 452 byte(s)
Log Message:
Hello, World!

File Contents

# Content
1 // Smersh
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Smersh_hpp_
8 #define _Smersh_hpp_
9
10 #include <iostream>
11 #include <string>
12 #include <sstream>
13 #include <map>
14
15 using namespace std;
16
17 inline string sgetenv(const string& name)
18 {
19 char* value = getenv(name.c_str());
20
21 return value != NULL ? value : "";
22 }
23
24 class Smersh
25 {
26 private:
27 multimap<string, string> cgi;
28 void parse(const string& method);
29 public:
30 Smersh();
31 ~Smersh() {}
32 };
33
34 #endif // _Smersh_hpp_