ref: 9b14a2f3b443a8bd615551cb2320829d134650bd
dir: /unionfs.h/
typedef struct Branch Branch;
typedef struct FILE FILE;
typedef struct Mtpt Mtpt;
struct Branch {
char *root;
int create;
};
struct FILE {
Dir;
char *realpath;
char *path;
int fd;
Mtpt *mtpt;
Dir *dirs;
long ndirs;
};
struct Mtpt {
char *path;
Mtpt *next;
};
void usage(void);
Qid qencode(Dir*);
char *mkpath(char*, ...);
void *emalloc(ulong);
char *estrdup(char*);