summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r--minecctl/minecctl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h
index 16199a3..46c616a 100644
--- a/minecctl/minecctl.h
+++ b/minecctl/minecctl.h
@@ -2,14 +2,19 @@
#ifndef foominecctlhfoo
#define foominecctlhfoo
+#include <sys/types.h>
+#include <dirent.h>
+
struct cfg {
- const char *cfgdir;
+ const char *dir_path;
+ DIR *dir;
char *rcon_password;
char *rcon_addrstr;
char *mc_addrstr;
char **commands;
bool force_stop;
bool default_set;
+ bool server_list_loaded;
bool (*cmd)(struct cfg *cfg);
struct list_head servers;
};