--- a/src/irc_net.h Thu Mar 12 23:05:54 2009 +0200
+++ b/src/irc_net.h Thu Mar 12 23:15:57 2009 +0200
@@ -58,6 +58,12 @@
err_t irc_net_create (struct irc_net **net, const struct irc_net_info *info, struct error_info *err);
/**
+ * Destroy an irc_net state without closing anything cleanly. This destroys the irc_conn, if any, and any irc_chans as
+ * well.
+ */
+void irc_net_destroy (struct irc_net *net);
+
+/**
* Create a new irc_chan and add it to our channel list.
*
* If we are connected and registered, JOIN the channel right away, otherwise, join it once we register.