shithub: riscv

ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
dir: /sys/src/cmd/9nfs/fns.h/

View raw version
int	argopt(int c);
int	auth2unix(Auth*, Authunix*);
int	authhostowner(Session*);
int	canlock(Lock*);
void	chat(char*, ...);
void	chatsrv(char*);
int	checkreply(Session*, char*);
int	checkunixmap(Unixmap*);
void	clog(char*, ...);
int	clunkfid(Session*, Fid*);
int	convM2sattr(void*, Sattr*);
int	dir2fattr(Unixidmap*, Dir*, void*);
int	error(Rpccall*, int);
void	fidtimer(Session*, long);
int	garbage(Rpccall*, char*);
int	getdom(ulong, char*, int);
int	getticket(Session*, char*);
char*	id2name(Unixid**, int);
void	idprint(int, Unixid*);
void*	listalloc(long, long);
void	lock(Lock*);
void	mnttimer(long);
int	name2id(Unixid**, char*);
Fid*	newfid(Session*);
long	niwrite(int, void*, long);
Unixidmap*	pair2idmap(char*, ulong);
void	panic(char*, ...);
void	putfid(Session*, Fid*);
int	readunixidmaps(char*);
Unixid*	readunixids(char*, int);
Xfid*	rpc2xfid(Rpccall*, Dir*);
int	rpcM2S(void*, Rpccall*, int);
int	rpcS2M(Rpccall*, int, void*);
void	rpcprint(int, Rpccall*);
void	server(int argc, char *argv[], int, Progmap*);
void	setfid(Session*, Fid*);
Xfid*	setuser(Xfile*, char*);
void	showauth(Auth*);
void	srvinit(int, char*, char*);
char*	strfind(char*);
int	string2S(void*, String*);
int	strparse(char*, int, char**);
void	strprint(int);
char*	strstore(char*);
Waitmsg	*system(char*, char**);
Waitmsg	*systeml(char*, ...);
void	unlock(Lock*);
int	xfattach(Session*, char*, int);
Xfid*	xfauth(Xfile*, String*);
void	xfauthclose(Xfid*);
long	xfauthread(Xfid*, long, uchar*, long);
int	xfauthremove(Xfid*, char*);
long	xfauthwrite(Xfid*, long, uchar*, long);
void	xfclear(Xfid*);
void	xfclose(Xfid*);
Xfid*	xfid(char*, Xfile*, int);
Xfile*	xfile(Qid*, void*, int);
int	xfopen(Xfid*, int);
int	xfpurgeuid(Session*, char*);
Xfile*	xfroot(char*, int);
int	xfstat(Xfid*, Dir*);
Xfid*	xfwalkcr(int, Xfid*, String*, long);
int	xfwstat(Xfid*, Dir*);
int	xmesg(Session*, int);
int	xp2fhandle(Xfile*, Fhandle);
void	xpclear(Xfile*);