aboutsummaryrefslogtreecommitdiff
path: root/mutebot.h
diff options
context:
space:
mode:
Diffstat (limited to 'mutebot.h')
-rw-r--r--mutebot.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/mutebot.h b/mutebot.h
new file mode 100644
index 0000000..88ca854
--- /dev/null
+++ b/mutebot.h
@@ -0,0 +1,20 @@
+#ifndef _MUTEBOT_H
+#define _MUTEBOT_H
+
+#include <stdbool.h>
+#include "config.h"
+
+struct cmdline {
+ char *td_path;
+ bool test_dc;
+ int api_id;
+ char *api_hash;
+ char *bot_token;
+ bool logout;
+};
+
+extern struct cmdline cmd;
+
+int cmdline_init(int argc, char **argv);
+
+#endif /* _MUTEBOT_H */