Parent Directory
|
Revision Log
chore: add old version archive branches (2.x to 9.x-dev)
1 | rakinar2 | 577 | #ifndef SUDOBOT_SUDOBOT_H |
2 | #define SUDOBOT_SUDOBOT_H | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | #include <stdlib.h> | ||
6 | #include <concord/discord.h> | ||
7 | #include "io/log.h" | ||
8 | #include "env.h" | ||
9 | |||
10 | #define sudobot_fatal_error(...) do { log_fatal(__VA_ARGS__); exit(EXIT_FAILURE); } while (0) | ||
11 | |||
12 | bool sudobot_start_with_token(const char *token); | ||
13 | bool sudobot_start(); | ||
14 | |||
15 | extern struct discord *client; | ||
16 | extern env_t *env; | ||
17 | |||
18 | #endif /* SUDOBOT_SUDOBOT_H */ |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |