aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9660srv/fns.h
blob: 1bae3b507186c6a8fe61d58b28f265cf7b4483b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void	chat(char*, ...);
void*	ealloc(long);
void	error(char*);
Iobuf*	getbuf(Xdata*, ulong);
Xdata*	getxdata(char*);
void	iobuf_init(void);
void	nexterror(void);
void	panic(int, char*, ...);
void	purgebuf(Xdata*);
void	putbuf(Iobuf*);
void	refxfs(Xfs*, int);
void	showdir(int, Dir*);
Xfile*	xfile(int, int);
void setnames(Dir*, char*);

#define	waserror()	(++nerr_lab, setjmp(err_lab[nerr_lab-1]))
#define	poperror()	(--nerr_lab)