struct entry *addentry(char *, ino_t, int);
long addfile(char *, ino_t, int);
void badentry(struct entry *, char *);
void canon(char *, char *, size_t);
void checkrestore(void);
void cleanup(void);
void closemt(void);
void createfiles(void);
void createleaves(char *);
void createlinks(void);
long deletefile(char *, ino_t, int);
void deleteino(ino_t);
ino_t dirlookup(const char *);
void dumpsymtable(char *, long);
void extractdirs(int);
int extractfile(char *);
void findunreflinks(void);
char *flagvalues(struct entry *);
void freeentry(struct entry *);
void freename(char *);
int genliteraldir(char *, ino_t);
char *gentempname(struct entry *);
void getfile(void (*)(char *, size_t), void (*)(char *, size_t));
void getvol(long);
void initsymtable(char *);
int inodetype(ino_t);
int linkit(char *, char *, int);
struct entry *lookupino(ino_t);
struct entry *lookupname(char *);
long listfile(char *, ino_t, int);
ino_t lowerbnd(ino_t);
void mktempname(struct entry *);
void moveentry(struct entry *, char *);
void msg(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
char *myname(struct entry *);
void newnode(struct entry *);
void newtapebuf(long);
long nodeupdates(char *, ino_t, int);
void onintr(int);
void panic(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
void pathcheck(char *);
struct direct *pathsearch(const char *);
void printdumpinfo(void);
void removeleaf(struct entry *);
void removenode(struct entry *);
void removeoldleaves(void);
void removeoldnodes(void);
void renameit(char *, char *);
int reply(char *);
RST_DIR *rst_opendir(const char *);
struct direct *rst_readdir(RST_DIR *);
void rst_closedir(RST_DIR *dirp);
void runcmdshell(void);
char *savename(char *);
void setdirmodes(int);
void setinput(char *);
void setup(void);
void skipdirs(void);
void skipfile(void);
void skipmaps(void);
void treescan(char *, ino_t, long (*)(char *, ino_t, int));
ino_t upperbnd(ino_t);
long verifyfile(char *, ino_t, int);
void xtrnull(char *, size_t);
void xtrfile(char *, size_t);
void rmtclose(void);
int rmthost(char *);
int rmtioctl(int, int);
int rmtopen(char *, int);
int rmtread(char *, int);
int rmtseek(int, int);