# | Line 5 | Line 5 | |
---|---|---|
5 | // $Id$ | |
6 | ||
7 | #include "Smersh.hpp" | |
8 | + | #include "Matcher.hpp" |
9 | ||
10 | int main(int argc, char* argv[]) | |
11 | { | |
# | Line 13 | Line 14 | int main(int argc, char* argv[]) | |
14 | return 0; | |
15 | } | |
16 | ||
17 | < | Smersh::Smersh() |
17 | > | Smersh::Smersh(ostream& sout) |
18 | { | |
19 | string method = sgetenv("REQUEST_METHOD"); | |
20 | ||
21 | parse(method); | |
22 | ||
23 | < | cout << "Content-Type: text/plain\n\n" << (cgi.find("sn") != cgi.end() ? |
23 | > | sout << "Content-Type: text/plain\n\n" << (cgi.find("sn") != cgi.end() ? |
24 | cgi.find("sn")->second : "Unknown") << '\n'; | |
25 | } | |
26 |
# | Line 0 | Line 1 | |
---|---|---|
1 | + | native |
# | Line 0 | Line 1 | |
---|---|---|
1 | + | Id |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |