ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/HostUpdate.cpp
Revision: 10
Committed: 2003-11-06T20:35:29-08:00 (21 years, 7 months ago) by Douglas Thrift
File size: 588 byte(s)
Log Message:
Die!

File Contents

# User Rev Content
1 Douglas Thrift 3 // Host Update
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #include "HostUpdate.hpp"
8 Douglas Thrift 9 #include "Host.hpp"
9 Douglas Thrift 3
10     int main(int argc, char* argv[])
11     {
12     HostUpdate update;
13    
14     return 0;
15     }
16    
17     HostUpdate::HostUpdate()
18     {
19 Douglas Thrift 10 /* CgiEnvironment env = cgi.getEnvironment();
20 Douglas Thrift 3
21     cout << "Location: " << (env.usingHTTPS() ? "https" : "http") << "://"
22     << env.getServerName() << ":" << env.getServerPort() << "/\n\n";
23    
24     form_iterator itor = cgi["host"];
25 Douglas Thrift 10 FormEntry host = *itor;*/
26    
27     Host host("douglaspc", "", "192.168.0.1");
28    
29     host--;
30    
31     cout << host.getName() << '\n' << host.getAddress();
32 Douglas Thrift 3 }
33    
34     HostUpdate::~HostUpdate()
35     {
36 Douglas Thrift 10 //
37 Douglas Thrift 3 }

Properties

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