#ifndef foominecctlhfoo #define foominecctlhfoo struct server { char *filename; char *shortname; struct list_head list; }; struct cfg { char *password; const char *cfgdir; const char *addrstr; char *cmdstr; struct server *server; void (*cmd)(struct cfg *cfg); struct list_head addrs; struct list_head known_servers; int fd; }; extern bool use_colors; #endif