1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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 */