--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/module.c Fri Mar 13 17:38:23 2009 +0200
@@ -0,0 +1,26 @@
+#include "module.h"
+
+#include <stdlib.h>
+#include <dlfcn.h>
+
+err_t modules_create (struct modules **modules_ptr, struct nexus *nexus)
+{
+ struct moduels *modules;
+
+ // alloc
+ if ((modules = calloc(1, sizeof(*modules))) == NULL)
+ return ERR_CALLOC;
+
+ // init
+ TAILQ_INIT
+
+ // store
+ modules->nexus = nexus;
+}
+
+err_t module_load (struct module **module_ptr, struct nexus *nexus, const struct module_info *info, struct error_info *err)
+{
+ struct module *module;
+
+
+}