aboutsummaryrefslogtreecommitdiff
path: root/include/9pclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/9pclient.h')
-rw-r--r--include/9pclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/9pclient.h b/include/9pclient.h
index 306a7e7b..2fc9f7ab 100644
--- a/include/9pclient.h
+++ b/include/9pclient.h
@@ -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