1 typedef struct Client Client;
2 typedef struct Ctl Ctl;
3 typedef struct Ibuf Ibuf;
4 typedef struct Url Url;
6 /* simple buffered i/o for network connections; shared by http, ftp */
28 Channel *creq; /* chan(Req*) */
46 * If ischeme is USunknown, then the given URL is a relative
47 * URL which references the "current document" in the context of the base.
48 * If this is the case, only the "fragment" and "url" members will have
49 * meaning, and the given URL structure may not be used as a base URL itself.
66 int (*open)(Client*, Url*);
67 int (*read)(Client*, Req*);
68 void (*close)(Client*);
91 STACK = 32*1024, /* was 16*1024; there are big arrays on the stack */
94 extern Client** client;
95 extern int cookiedebug;
101 extern int httpdebug;
102 extern char* status[];