1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _NET9P_H_ #define _NET9P_H_ #include "coroutine.h" struct p9_srvreq; struct p9_srv { int sockfd; cr_chan_t(p9_srvreq *) reqch; }; COROUTINE p9_srv_read_cr(void *_srv); COROUTINE p9_srv_write_cr(void *_srv); #endif /* _NET9P_H_ */