Functions | |
int | irc_run (irc_session_t *session) |
Goes into forever-loop, processing IRC events and generating callbacks. | |
int | irc_add_select_descriptors (irc_session_t *session, fd_set *in_set, fd_set *out_set, int *maxfd) |
Adds IRC socket(s) for the descriptor set to use in select(). | |
int | irc_process_select_descriptors (irc_session_t *session, fd_set *in_set, fd_set *out_set) |
Processes the IRC socket(s), which descriptor(s) are set. |
int irc_add_select_descriptors | ( | irc_session_t * | session, | |
fd_set * | in_set, | |||
fd_set * | out_set, | |||
int * | maxfd | |||
) |
Adds IRC socket(s) for the descriptor set to use in select().
session | An initiated and connected session. | |
in_set | A FD_IN descriptor set for select() | |
out_set | A FD_OUT descriptor set for select() | |
maxfd | A max descriptor found. |
int irc_process_select_descriptors | ( | irc_session_t * | session, | |
fd_set * | in_set, | |||
fd_set * | out_set | |||
) |
Processes the IRC socket(s), which descriptor(s) are set.
session | An initiated and connected session. | |
in_set | A FD_IN descriptor set for select() | |
out_set | A FD_OUT descriptor set for select() |
int irc_run | ( | irc_session_t * | session | ) |
Goes into forever-loop, processing IRC events and generating callbacks.
session | An initiated and connected session. |