ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/HostUpdate.cpp
Revision: 3
Committed: 2003-11-05T18:37:16-08:00 (21 years, 7 months ago) by Douglas Thrift
File size: 450 byte(s)
Log Message:
Did more stuff!

File Contents

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

Properties

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