aboutsummaryrefslogtreecommitdiff
path: root/query.h
blob: a5cb168b5086e1baba5b9d2f66961aae30dd481a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define TRUNCATED(s) s[-1]

struct query{
	int method;
	char *string;
} query;

enum method{
	GET,
	POST
};

char *nextparam(enum method, int);
void setquery(void);
char *split(char *);