src/nexus.h
branchmodules
changeset 55 6f7f6ae729d0
parent 53 12d806823775
child 57 ce1accba5fc7
--- a/src/nexus.h	Fri Mar 13 17:38:23 2009 +0200
+++ b/src/nexus.h	Sun Mar 15 01:17:22 2009 +0200
@@ -5,15 +5,19 @@
  * A nexus is the central brain of the application; the place where the main() method is implemented
  */
 #include <event2/event.h>
+#include "module.h"
 #include "irc_client.h"
 
 /**
  * Context for async nexus operation
  */
-struct nexus_ctx {
+struct nexus {
     /** The libevent base */
     struct event_base *ev_base;
 
+    /** Our loaded modules */
+    struct modules *modules;
+
     /** The IRC client state */
     struct irc_client *client;
 };