lib9p: added threadpostsharesrv

This commit is contained in:
aiju 2011-07-27 16:36:32 +02:00
parent 1a2afe988b
commit 7d0ce95567
2 changed files with 8 additions and 0 deletions

View file

@ -226,6 +226,7 @@ int chatty9p;
void respond(Req*, char*); void respond(Req*, char*);
void responderror(Req*); void responderror(Req*);
void threadpostmountsrv(Srv*, char*, char*, int); void threadpostmountsrv(Srv*, char*, char*, int);
void threadpostsharesrv(Srv*, char*, char*, char*, char*);
void threadlistensrv(Srv *s, char *addr); void threadlistensrv(Srv *s, char *addr);
/* /*

View file

@ -23,3 +23,10 @@ threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag)
_forker = tforker; _forker = tforker;
_postmountsrv(s, name, mtpt, flag); _postmountsrv(s, name, mtpt, flag);
} }
void
threadpostsharesrv(Srv *s, char *name, char *mtpt, int flag)
{
_forker = tforker;
_postmountsrv(s, name, mtpt, flag);
}