Moved to new module init structure.
[citadel.git] / citadel / serv_network.c
index 840ebd5088fc380f51ec2e97badf61384f12553f..1c8260b9b47497db60f36846499d87d6b284e541 100644 (file)
 #include <limits.h>
 #include "citadel.h"
 #include "server.h"
-#include "sysdep_decls.h"
 #include "citserver.h"
 #include "support.h"
 #include "config.h"
-#include "serv_extensions.h"
 #include "room_ops.h"
 #include "user_ops.h"
 #include "policy.h"
 #include "snprintf.h"
 #endif
 
+
+#include "ctdl_module.h"
+
+
+
 /* Nonzero while we are doing network processing */
 static int doing_queue = 0;
 
@@ -2064,7 +2067,7 @@ int network_room_handler (struct ctdlroom *room)
 /*
  * Module entry point
  */
-char *serv_network_init(void)
+CTDL_MODULE_INIT(network)
 {
        create_spool_dirs();
        CtdlRegisterProtoHook(cmd_gnet, "GNET", "Get network config");