]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/fwp/fwp.c
Do not use preallocated memory for VRESes
[frescor/fwp.git] / fwp / lib / fwp / fwp.c
index b4f39b623f6bd00610c4ef500e2b740aea95ad2c..03e5634931cea3ff55bf84c63ee6c000927c07bf 100644 (file)
 #include "fwp_conf.h"
 #include "fwp_vres.h"
 #include "fwp_utils.h"
+#include <ul_logreg.h>
+#include "fwp_debug.h"
+
+ul_log_domain_t ulogd_fwp = {UL_LOGL_MSG, "fwp"};
+UL_LOGREG_SINGLE_DOMAIN_INIT_FUNCTION(init_ulogd_fwo, ulogd_fwp);
 
 int fwp_init()
 {
-       int rv;
-
-       if (/*(rv = fwp_endpoint_table_init(fwp_configuration.max_endpoints))||
-           (rv = fwp_vres_table_init(fwp_configuration.max_vres)))*/
-           (rv = fwp_vres_table_init(20)))
-               return rv;
-       
-/*     if (fwp_configuration.mngt) { 
-               //frsh_resource_register(FRSH_WIFI, &fwp_resource);
-               rv = fwp_mngt_init(); 
-               return rv;
-       }*/
-
        return 0;
 }