ref: 44ce503a9ecea0e1793ee1c7917e65c0ae498f2c
dir: /unionfs.h/
enum {
Nftab = 32,
Nftlist = 32,
};
typedef struct Union Union;
typedef struct F F;
typedef struct Ftab Ftab;
typedef struct Fstate Fstate;
struct Union {
char *root;
int create;
Union *prev, *next;
};
struct F {
Ref;
Dir;
char *path; /* real path */
char *fspath; /* internal path */
};
struct Ftab {
long n, sz;
F **l;
};
struct Fstate {
int fd;
F *file;
Ftab *ftab;
};
void usage(void);
Qid qencode(Dir*);
char *mkpath(char*, ...);
Ref *copyref(Ref*);
void *emalloc(ulong);
void *erealloc(void*, ulong);
char *estrdup(char*);