1 typedef struct Msg Msg;
9 typedef struct Client Client;
25 Req *rq, **erq; /* reading */
30 Req *wq, **ewq; /* writing */
31 Req *curw; /* currently writing */
32 Ioproc *writerproc; /* writing */
35 extern Client **client;
36 extern void dataread(Req*, Client*);
37 extern int newclient(void);
38 extern void closeclient(Client*);
39 extern void datawrite(Req*, Client*);
40 extern void ctlwrite(Req*, Client*);
41 extern void clientflush(Req*, Client*);
43 #define emalloc emalloc9p
44 #define estrdup estrdup9p
45 #define erealloc erealloc9p
48 extern void initfs(void);
49 extern void setexecname(char*);
56 enum /* Client.status */