aboutsummaryrefslogtreecommitdiff
path: root/mutebot.h
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2021-11-13 12:25:41 -0800
committerTrumeet <yuuta@yuuta.moe>2021-11-13 12:25:41 -0800
commit47032d1b4143bb9e9438dc4463fcc9d3be727926 (patch)
treee89719afc42bcd82e445a4406805fe915258c059 /mutebot.h
downloadmutebot-47032d1b4143bb9e9438dc4463fcc9d3be727926.tar
mutebot-47032d1b4143bb9e9438dc4463fcc9d3be727926.tar.gz
mutebot-47032d1b4143bb9e9438dc4463fcc9d3be727926.tar.bz2
mutebot-47032d1b4143bb9e9438dc4463fcc9d3be727926.zip
First Commit
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 */