ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 176
Committed: 2004-06-25T20:32:24-07:00 (20 years, 11 months ago) by Douglas Thrift
File size: 841 byte(s)
Log Message:
Almost working, needs error display, and a working api::TcpSocket::Close().

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 #include <algorithm>
16 #include <cstdlib>
17 #include <cctype>
18 #include <ctime>
19
20 #include <menes-ext/casts.hpp>
21 #include <menes-xml/document.hpp>
22 #include <menes-xml/nodeset.hpp>
23 #include <menes-xml/parse.hpp>
24
25 using namespace std;
26
27 extern string program;
28 extern bool debug;
29
30 #include "Environment.hpp"
31
32 class Person;
33
34 class Smersh
35 {
36 private:
37 static Environment env;
38 multimap<string, string> cgi;
39 void parse(istream& sin, const Environment& env);
40 void smersh(ostream& sout);
41 void output(ostream& sout, const vector<Person>& people);
42 public:
43 Smersh(istream& sin = cin, ostream& sout = cout, const Environment& env =
44 env);
45 ~Smersh() {}
46 };
47
48 #endif // _Smersh_hpp_

Properties

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