Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/snmpfs/fs.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/* 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);

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.