File: req.h

package info (click to toggle)
ffproxy 1.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 884 kB
  • sloc: ansic: 2,310; asm: 578; sh: 425; makefile: 91
file content (38 lines) | stat: -rw-r--r-- 624 bytes parent folder | download
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
37
38
#define HAD_REQ_H

#define MAX_HEADERS 32

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[MAX_HEADERS];

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

	int             loop;

	struct clinfo  *cl;
};

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