Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS / stress_testing / util.h
blobf8de0a4ac1672efa9478d13146e5c3ebca0e62b2
1 #include "connection.h"
3 #ifndef _D_URL
4 #define _D_URL
5 class URL {
6 public:
7 URL(char *buffer);
9 char *get_protocol();
10 char *get_hostname();
11 char *get_filename();
13 private:
14 char *protocol_;
15 char *hostname_;
16 char *filename_;
19 void cleanup();
20 void sigint(int);
21 int copier(connection in);
23 #define INDEX_NAME "/index.html"
24 #define INCOMING_FILE_NAME "/tmp/sumedh.web.inc"
25 #define TEMPORARY_FILE_NAME "/tmp/sumedh.web.tmp"
26 #endif