src/irc_log.h
changeset 23 542c73d07d3c
child 26 aec062af155d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/irc_log.h	Sun Mar 08 17:17:37 2009 +0200
@@ -0,0 +1,21 @@
+#ifndef IRC_LOG_H
+#define IRC_LOG_H
+
+/**
+ * @file
+ *
+ * Logging IRC events to an SQL database
+ */
+
+#include "error.h"
+#include "irc_conn.h"
+#include <event2/event.h>
+
+/**
+ * Initialize the global irc_log state
+ *
+ * XXX: db_info is still unused if not specified
+ */
+err_t irc_log_init (struct event_base *ev_base, const char *db_info, struct irc_conn *irc, const char *channel);
+
+#endif