aboutsummaryrefslogtreecommitdiff
path: root/include/9pclient.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-10 16:08:16 +0000
committerrsc <devnull@localhost>2005-02-10 16:08:16 +0000
commitce2a378d46c0bcd00ec08b9bc4ad861c8aa28a2f (patch)
treeea6720efcec86fa746ecbcb11f1461bbb4f4726e /include/9pclient.h
parent74a69210695acc71f865a811865fb528b68343f3 (diff)
downloadplan9port-ce2a378d46c0bcd00ec08b9bc4ad861c8aa28a2f.tar.gz
plan9port-ce2a378d46c0bcd00ec08b9bc4ad861c8aa28a2f.tar.bz2
plan9port-ce2a378d46c0bcd00ec08b9bc4ad861c8aa28a2f.zip
new prototypes
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