terom@23: #ifndef IRC_LOG_H terom@23: #define IRC_LOG_H terom@23: terom@23: /** terom@23: * @file terom@23: * terom@23: * Logging IRC events to an SQL database terom@23: */ terom@23: terom@23: #include "error.h" terom@23: #include "irc_conn.h" terom@23: #include terom@23: terom@23: /** terom@23: * Initialize the global irc_log state terom@23: * terom@23: * XXX: db_info is still unused if not specified terom@23: */ terom@23: err_t irc_log_init (struct event_base *ev_base, const char *db_info, struct irc_conn *irc, const char *channel); terom@23: terom@23: #endif