Notice avoiding misundertandigs between virtual distributed ethernet and
[vde.git] / vde-2 / consmgmt.h
blobc5e49104d69a593ff88571bc663739ff757e788c
1 /* Copyright 2002 Jeff Dike
2 * Licensed under the GPL
3 */
5 #ifndef __TUNTAP_H__
6 #define __TUNTAP_H__
9 struct comlist {
10 char *path;
11 char *syntax;
12 char *help;
13 int (*doit)();
14 unsigned char type;
15 struct comlist *next;
19 #define NOARG 0
20 #define INTARG 1
21 #define STRARG 2
22 #define WITHFD 0x80
24 void printlog(int priority, const char *format, ...);
25 void loadrcfile(void);
26 void setmgmtperm(char *path);
28 void printoutc(int fd, const char *format, ...);
29 void addcl(int ncl,struct comlist *cl);
30 #define ADDCL(CL) addcl(sizeof(CL)/sizeof(struct comlist),(CL))
32 #endif