xref: /plan9/sys/src/cmd/9660srv/fns.h (revision 3e33a36fadd1f83a7b3e74f4a2858d02601a619e)
1 void	chat(char*, ...);
2 void*	ealloc(long);
3 void	error(char*);
4 Iobuf*	getbuf(Xdata*, uvlong);
5 Xdata*	getxdata(char*);
6 void	iobuf_init(void);
7 void	nexterror(void);
8 void	panic(int, char*, ...);
9 void	purgebuf(Xdata*);
10 void	putbuf(Iobuf*);
11 void	refxfs(Xfs*, int);
12 void	showdir(int, Dir*);
13 Xfile*	xfile(int, int);
14 void setnames(Dir*, char*);
15 
16 #define	waserror()	(++nerr_lab, setjmp(err_lab[nerr_lab-1]))
17 #define	poperror()	(--nerr_lab)
18