2 void initibuf(Ibuf*, Ioproc*, int);
3 int readibuf(Ibuf*, char*, int);
4 void unreadline(Ibuf*, char*);
5 int readline(Ibuf*, char*, int);
9 void closeclient(Client*);
11 int ctlwrite(Req*, Ctl*, char*, char*);
12 int clientctlwrite(Req*, Client*, char*, char*);
13 int globalctlwrite(Req*, char*, char*);
14 void ctlread(Req*, Client*);
15 void globalctlread(Req*);
16 void plumburl(char*, char*);
19 void cookieread(Req*);
20 void cookiewrite(Req*);
21 void cookieopen(Req*);
22 void cookieclunk(Fid*);
23 void initcookies(char*);
24 void closecookies(void);
25 void httpsetcookie(char*, char*, char*);
26 char* httpcookies(char*, char*, int);
32 int httpopen(Client*, Url*);
33 int httpread(Client*, Req*);
34 void httpclose(Client*);
37 int iotlsdial(Ioproc*, char*, char*, char*, int*, int);
38 int ioprint(Ioproc*, int, char*, ...);
39 #pragma varargck argpos ioprint 3
43 void plumbstart(void);
44 void replumb(Client*);
47 Url* parseurl(char*, Url*);
49 void rewriteurl(Url*);
50 int seturlquery(Url*, char*);
52 char* escapeurl(char*, int(*)(int));
53 char* unescapeurl(char*);
58 char* estrmanydup(char*, ...);
59 char* estredup(char*, char*);
61 void* erealloc(void*, uint);
62 char* strlower(char*);