summaryrefslogtreecommitdiff
path: root/apps/JAWS/stress_testing/util.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-07 10:51:17 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-07 10:51:17 +0000
commitefccb9b98f848247a659e1115f9f94cf1a43f35d (patch)
treeb7c89de36a8fab99f284b5d29c1f80c136b3ecb2 /apps/JAWS/stress_testing/util.h
parent74d53a81e16bd718f059d83d7457b5558ed59125 (diff)
downloadATCD-efccb9b98f848247a659e1115f9f94cf1a43f35d.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/JAWS/stress_testing/util.h')
-rw-r--r--apps/JAWS/stress_testing/util.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/JAWS/stress_testing/util.h b/apps/JAWS/stress_testing/util.h
new file mode 100644
index 00000000000..ea5b29da104
--- /dev/null
+++ b/apps/JAWS/stress_testing/util.h
@@ -0,0 +1,32 @@
+#include "connection.h"
+
+#ifndef _D_URL
+#define _D_URL
+class URL {
+
+public:
+
+ URL(char *buffer);
+
+ char *get_protocol();
+ char *get_hostname();
+ char *get_filename();
+
+private:
+ char *protocol_;
+ char *hostname_;
+ char *filename_;
+};
+
+void cleanup(void);
+void sigint(int);
+int copier(connection in);
+
+#define INDEX_NAME "/index.html"
+#define INCOMING_FILE_NAME "/tmp/sumedh.web.inc"
+#define TEMPORARY_FILE_NAME "/tmp/sumedh.web.tmp"
+#endif
+
+
+
+