diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/plumb.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/plumb.h b/include/plumb.h index 06b0aae4..20bfcd74 100644 --- a/include/plumb.h +++ b/include/plumb.h @@ -3,6 +3,8 @@ #if defined(__cplusplus) extern "C" { #endif + +AUTOLIB(plumb) /* #pragma lib "libplumb.a" #pragma src "/sys/src/libplumb" @@ -42,7 +44,6 @@ struct Plumbattr int plumbsend(int, Plumbmsg*); Plumbmsg* plumbrecv(int); -Plumbmsg* threadplumbrecv(int); char* plumbpack(Plumbmsg*, int*); Plumbmsg* plumbunpack(char*, int); Plumbmsg* plumbunpackpartial(char*, int, int*); @@ -55,11 +56,11 @@ char* plumblookup(Plumbattr*, char*); int plumbopen(char*, int); int eplumb(int, char*); -#ifdef _FS_H_ -Fid* plumbopenfid(char*, int); -Plumbmsg* plumbrecvfid(Fid*); -Plumbmsg* threadplumbrecvfid(Fid*); -int plumbsendtofid(Fid*, Plumbmsg*); +#ifdef _9PCLIENT_H_ +CFid* plumbopenfid(char*, int); +Plumbmsg* plumbrecvfid(CFid*); +Plumbmsg* threadplumbrecvfid(CFid*); +int plumbsendtofid(CFid*, Plumbmsg*); #endif #if defined(__cplusplus) |