'working' modules code, and convert irc_log to use said interface, but we've hit the limits on our Makefile, and the compiled module doesn't really work
#ifndef NEXUS_H
#define NEXUS_H
/**
* 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 {
/** The libevent base */
struct event_base *ev_base;
/** Our loaded modules */
struct modules *modules;
/** The IRC client state */
struct irc_client *client;
};
/**
* The nexus main function, application entry point, etc.
*/
int main (int argc, char **argv);
#endif /* NEXUS_H */