/* fs commands */
static char Ebad[] = "something bad happened";
static char Enomem[] = "no memory";
static char Ecreate[] = "cannot create file";
static char Eremove[] = "cannot remove file";
static char Ewrite[] = "cannot write file";
static char Econfig[] = "no config found for this host";
static char Eroot[] = "cannot create root for this host";
/* fs funcs */
Packet* mkpacket(char *host, char *oid, char *val);
Session* mksession(char *host);
void fsdestroyfile(File *f);
int fsinit(char *user);
|