File: req.h

package info (click to toggle)
ffproxy 1.6-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 628 kB
  • ctags: 460
  • sloc: ansic: 2,286; asm: 582; sh: 395; makefile: 96
file content (36 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#define HAD_REQ_H

struct clinfo {
	char            name[128];
	char            ip[128];
};

struct req {
	char            url[2048];
	char		urlpath[2048];
	char            host[128];
	unsigned int    port;

	int             type;
	int             relative;
	int		kalive;
	int             vmajor;
	int             vminor;

	long            clen;
	char            tstamp[32];
	char            ctype[32];

	char           *header[32];

	char            fname[256];
	char            lname[257];

	int             loop;

	struct clinfo  *cl;
};

enum {
	GET = 0, POST, HEAD, CONNECT, UNKNOWN
};