summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-26 22:26:14 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-26 22:26:14 +0200
commit09d88fc3db9265732c7960ee52240b1196dcee71 (patch)
treef2324fc368f23baa379b2240bd044a6f1a7b06ab /minecctl/minecctl.h
parent591b03bd3cfd52b33a5e8512fef466494cf329f6 (diff)
Split off all server functionality to a separate file
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r--minecctl/minecctl.h14
1 files changed, 0 insertions, 14 deletions
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