diff options
Diffstat (limited to 'minecproxy/main.h')
-rw-r--r-- | minecproxy/main.h | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/minecproxy/main.h b/minecproxy/main.h index 2c7be83..f7dd547 100644 --- a/minecproxy/main.h +++ b/minecproxy/main.h @@ -14,28 +14,6 @@ struct uring_task; extern struct cfg *cfg; extern bool exiting; -/* -enum debug_lvl { - DBG_ERROR = (0x1 << 1), - DBG_INFO = (0x1 << 2), - DBG_VERBOSE = (0x1 << 3), - DBG_CFG = (0x1 << 4), - DBG_REF = (0x1 << 5), - DBG_MALLOC = (0x1 << 6), - DBG_ANN = (0x1 << 7), - DBG_SIG = (0x1 << 8), - DBG_UR = (0x1 << 9), - DBG_SRV = (0x1 << 10), - DBG_PROXY = (0x1 << 11), - DBG_RCON = (0x1 << 12), - DBG_IDLE = (0x1 << 13), - DBG_IGMP = (0x1 << 14), - DBG_SYSD = (0x1 << 15), - DBG_DNS = (0x1 << 16), - DBG_TIMER = (0x1 << 17), -}; -*/ - void dump_tree(); /* To save typing in all the function definitions below */ @@ -75,10 +53,14 @@ struct uring_task { struct cfg { /* Options */ + const char *cfg_path; + char *cfg_real_path; + DIR *cfg_dir; + const char *data_path; + char *data_real_path; + DIR *data_dir; uid_t uid; gid_t gid; - const char *cfg_dir; - const char *cfg_file; bool do_igmp; char *igmp_iface; bool splice_supported; |