blob: 41f2e28da633d3751a19c44fceb2746eee93622d (
plain) (
tree)
|
|
#ifndef UTIL_H
enum ascii { NL = 10, ESC = 27, DEL = 127 };
enum flags { IGNORE_ISIG = 1 << 0 };
enum iptyp { DOWN = 0, PASS = 1, UP = 2 };
typedef struct {
const char *name;
const char *cmd;
} Menu;
typedef struct {
int flag;
char statverf;
char statfail;
const char *headverf;
const char *headerr;
const char *statstr;
const char *floc;
Menu cmds[3];
} State;
void die(const char *fmt, ...);
#define UTIL_H
#endif
|