summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r--minecctl/minecctl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h
new file mode 100644
index 0000000..4918ca0
--- /dev/null
+++ b/minecctl/minecctl.h
@@ -0,0 +1,25 @@
+#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
+