File:  [Research Unix] / researchv10no / cmd / odist / ape / Future / conf.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/* structure corresponding to line of the config file */
struct conf {
	char *host;	/* regexp */
	char *user;	/* regexp */
	char *file;	/* regexp */
	char *cmds;	/* cmd+cmd+cmd... */
};

extern struct conf *confread(FILE *fp, char *host, char *user, char *file);

/* configuration command name and associated function to call */
struct confcmds {
	char *name;
	int (*func)(char *);
};

extern int confexec(char *cmdstr, struct confcmds *cmdtab);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.