src/irc_log.h
changeset 23 542c73d07d3c
child 26 aec062af155d
equal deleted inserted replaced
22:c339c020fd33 23:542c73d07d3c
       
     1 #ifndef IRC_LOG_H
       
     2 #define IRC_LOG_H
       
     3 
       
     4 /**
       
     5  * @file
       
     6  *
       
     7  * Logging IRC events to an SQL database
       
     8  */
       
     9 
       
    10 #include "error.h"
       
    11 #include "irc_conn.h"
       
    12 #include <event2/event.h>
       
    13 
       
    14 /**
       
    15  * Initialize the global irc_log state
       
    16  *
       
    17  * XXX: db_info is still unused if not specified
       
    18  */
       
    19 err_t irc_log_init (struct event_base *ev_base, const char *db_info, struct irc_conn *irc, const char *channel);
       
    20 
       
    21 #endif