Networker reordering; remove / change dependencies
[citadel.git] / citadel / modules / network / serv_network.c
index 2b3d8fbcaece4abbfd90b2725837026040335a13..bf5f1d3b946fb9b33efa73491743b1fa9f673cba 100644 (file)
@@ -88,6 +88,7 @@
 
 #include "context.h"
 #include "netconfig.h"
+#include "netspool.h"
 #include "netmail.h"
 #include "ctdl_module.h"
 
@@ -105,7 +106,6 @@ struct RoomProcList *rplist = NULL;
 
 
 
-
 /*
  * Check the use table.  This is a list of messages which have recently
  * arrived on the system.  It is maintained and queried to prevent the same
@@ -446,12 +446,11 @@ void network_do_queue(void) {
        /* Load the IGnet Configuration into memory */
        load_working_ignetcfg();
 
-
        /*
         * Load the network map and filter list into memory.
         */
        read_network_map();
-       filterlist = load_filter_list();
+       load_network_filter_list();
 
        /* 
         * Go ahead and run the queue
@@ -496,8 +495,7 @@ void network_do_queue(void) {
        write_network_map();
 
        /* Free the filter list in memory */
-       free_filter_list(filterlist);
-       filterlist = NULL;
+       free_netfilter_list();
 
        network_consolidate_spoolout();