diff options
author | aiju <aiju@phicode.de> | 2011-07-27 16:36:32 +0200 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2011-07-27 16:36:32 +0200 |
commit | 7d0ce95567fdd93176cf45ebba50d9c27e40b45b (patch) | |
tree | b95cf1ad6fca6a463f4b628712c8d164eef6f2b7 | |
parent | 1a2afe988b3075452b7f45d63b3d8d30e4358d0c (diff) | |
download | plan9front-7d0ce95567fdd93176cf45ebba50d9c27e40b45b.tar.xz |
lib9p: added threadpostsharesrv
-rw-r--r-- | sys/include/9p.h | 1 | ||||
-rw-r--r-- | sys/src/lib9p/thread.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/include/9p.h b/sys/include/9p.h index 377ebc437..fb2862438 100644 --- a/sys/include/9p.h +++ b/sys/include/9p.h @@ -226,6 +226,7 @@ int chatty9p; void respond(Req*, char*); void responderror(Req*); void threadpostmountsrv(Srv*, char*, char*, int); +void threadpostsharesrv(Srv*, char*, char*, char*, char*); void threadlistensrv(Srv *s, char *addr); /* diff --git a/sys/src/lib9p/thread.c b/sys/src/lib9p/thread.c index e345d0886..e3912ea03 100644 --- a/sys/src/lib9p/thread.c +++ b/sys/src/lib9p/thread.c @@ -23,3 +23,10 @@ threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag) _forker = tforker; _postmountsrv(s, name, mtpt, flag); } + +void +threadpostsharesrv(Srv *s, char *name, char *mtpt, int flag) +{ + _forker = tforker; + _postmountsrv(s, name, mtpt, flag); +} |