From 09d88fc3db9265732c7960ee52240b1196dcee71 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Fri, 26 Jun 2020 22:26:14 +0200 Subject: Split off all server functionality to a separate file --- minecctl/minecctl.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'minecctl/minecctl.h') diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h index 9e3d79b..0b8b2cf 100644 --- a/minecctl/minecctl.h +++ b/minecctl/minecctl.h @@ -1,16 +1,6 @@ #ifndef foominecctlhfoo #define foominecctlhfoo -struct server { - bool file_read; - char *name; - char *filename; - char *rcon_password; - struct list_head rcon_addrs; - struct list_head mc_addrs; - struct list_head list; -}; - struct cfg { /* command line arguments */ const char *cfgdir; @@ -25,9 +15,5 @@ struct cfg { struct list_head servers; }; -void read_server_config(struct server *server); - -struct server *get_default_server(struct cfg *cfg); - #endif -- cgit v1.2.3