A virtual currency betting bot for Twitch chat.
https://ddark.net/better
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
666 B
26 lines
666 B
#ifndef BETTER_IRC_H
|
|
#define BETTER_IRC_H
|
|
|
|
static DWORD _irc_main(App* app);
|
|
|
|
bool irc_init(App* app);
|
|
void irc_cleanup(App* app);
|
|
|
|
bool irc_connect(App* app);
|
|
void irc_disconnect(App* app);
|
|
void irc_timed_reconnect(App* app);
|
|
|
|
bool dns_thread_running(App* app);
|
|
|
|
void irc_on_dns_complete(App* app, addrinfo* result);
|
|
void irc_on_dns_failed(App* app, DWORD getaddrinfo_error);
|
|
void irc_on_connect(App* app);
|
|
void irc_on_write(App* app);
|
|
void irc_on_read_or_close(App* app);
|
|
|
|
void irc_handle_message(App* app, IrcMessage* msg);
|
|
void irc_queue_write(App* app, char* msg, bool is_privmsg);
|
|
|
|
static char* parse_extract(char** ptr, char stop_at);
|
|
|
|
#endif // BETTER_IRC_H
|
|
|