repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git]
/
ACE
/
apps
/
JAWS
/
stress_testing
/
util.h
blob
f8de0a4ac1672efa9478d13146e5c3ebca0e62b2
1
#include
"connection.h"
2
3
#ifndef _D_URL
4
#define _D_URL
5
class
URL
{
6
public
:
7
URL
(
char
*
buffer
);
8
9
char
*
get_protocol
();
10
char
*
get_hostname
();
11
char
*
get_filename
();
12
13
private
:
14
char
*
protocol_
;
15
char
*
hostname_
;
16
char
*
filename_
;
17
};
18
19
void
cleanup
();
20
void
sigint
(
int
);
21
int
copier
(
connection in
);
22
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
27
28
29