aboutsummaryrefslogtreecommitdiff
path: root/environ.h
diff options
context:
space:
mode:
Diffstat (limited to 'environ.h')
-rw-r--r--environ.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/environ.h b/environ.h
new file mode 100644
index 0000000..2aaaebf
--- /dev/null
+++ b/environ.h
@@ -0,0 +1,20 @@
+#ifndef _ENVIRON_H
+#define _ENVIRON_H
+
+#include <stdint.h>
+
+typedef struct environ {
+ char *tg_api;
+ char *tg_chat_raw;
+ int64_t tg_chat;
+ uint32_t tg_admin;
+ char *tg_link_fmt;
+ char *rcon_host;
+ char *rcon_port;
+ char *rcon_passwd;
+ int *rcon_sd;
+} Environ;
+
+int environ_read(Environ *out);
+
+#endif // _ENVIRON_H