new prototypes

This commit is contained in:
rsc 2005-02-10 16:08:16 +00:00
parent 74a6921069
commit ce2a378d46
4 changed files with 20 additions and 1 deletions

View file

@ -28,6 +28,7 @@ vlong fsseek(CFid*, vlong, int);
long fswrite(CFid*, void*, long);
void fsclose(CFid*);
void fsunmount(CFsys*);
void _fsunmount(CFsys*); /* do not close fd */
struct Dir; /* in case there's no lib9.h */
long fsdirread(CFid*, struct Dir**);
long fsdirreadall(CFid*, struct Dir**);
@ -37,9 +38,12 @@ int fsdirwstat(CFsys*, char*, struct Dir*);
int fsdirfwstat(CFid*, struct Dir*);
CFid *fsroot(CFsys*);
void fssetroot(CFsys*, CFid*);
CFsys *nsinit(char*);
CFsys *nsmount(char*, char*);
CFid *nsopen(char*, char*, char*, int);
extern int chatty9pclient;
#ifdef __cplusplus
}
#endif