ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 165
Committed: 2004-06-18T01:38:55-07:00 (21 years ago) by Douglas Thrift
File size: 522 byte(s)
Log Message:
Working right along.

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

Properties

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