diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-25 17:01:24 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-25 17:01:24 +0200 |
commit | 4d0fcab10e91ad5962837f7dd428f5bca1c8c980 (patch) | |
tree | 3529036819aec2a56d769f3f8626fb24c625d4b2 /minecctl/minecctl.h | |
parent | 7e980225821aaa3073fc46d2dc248e9571d3c298 (diff) |
Flesh out minecctl some more
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r-- | minecctl/minecctl.h | 25 |
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 + |