diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +#include "mutebot.h" +#include "tdutils.h" +#include <stdio.h> +#include <stdlib.h> +#include <stdbool.h> + +int post_auth() { + +} + +int main(int argc, char **argv) { + int r = 0; + if ((r = cmdline_init(argc, argv))) goto cleanup; + if ((r = td_init())) goto cleanup; + td_loop(); + goto cleanup; + cleanup: + td_free(); + return r; +} |