ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 164
Committed: 2004-06-17T22:12:33-07:00 (21 years ago) by Douglas Thrift
File size: 490 byte(s)
Log Message:
Wow, that's a lot of stuff. Too bad it doesn't do anything yet.

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 <vector>
14 #include <map>
15
16 using namespace std;
17
18 inline string sgetenv(const string& name)
19 {
20 char* value = getenv(name.c_str());
21
22 return value != NULL ? value : "";
23 }
24
25 class Smersh
26 {
27 private:
28 multimap<string, string> cgi;
29 void parse(const string& method);
30 public:
31 Smersh(ostream& sout = cout);
32 ~Smersh() {}
33 };
34
35 #endif // _Smersh_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id