]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/9660srv/fns.h
9660srv: keep data and metadata separate in the cache with a tag
[plan9front.git] / sys / src / cmd / 9660srv / fns.h
1 void    chat(char*, ...);
2 void*   ealloc(long);
3 void    error(char*);
4 Iobuf*  getbuf(Xdata*, ulong, ulong);
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)