]> rtime.felk.cvut.cz Git - frescor/fna.git/blobdiff - src/fna_configuration.c
restored
[frescor/fna.git] / src / fna_configuration.c
index 8884178ab21e60778f5161056e0c939f023b5ff2..656f9c652de7f4cbb373b533013baf81cce621f1 100644 (file)
         #include "../src_unix/unix_fna.h" // for unix_fna_operations
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+        #include "../src_frescan/frescan_bwres_fna.h" // for frescan_fna_operations
+#endif
+
+#ifdef FWP_FNA_ENABLED
+        #include <fwp_fna.h> // for fwp_fna_operations
+#endif
 
 fna_operations_t  *fna_operations[FNA_MAX_NETWORKS] = {
+#ifdef FRESCAN_FNA_ENABLED
+        &frescan_fna_operations,
+#else
+        NULL,
+#endif
+#ifdef RTEP_FNA_ENABLED
         &rtep_fna_operations,
-        // &unix_fna_operations,
-        // NULL, // resource_id 0
-        NULL, // resource_id 1
-        NULL, // resource_id 2
-        NULL  // resource_id 3
+#else
+        NULL,
+#endif
+#ifdef UNIX_FNA_ENABLED
+        &unix_fna_operations,
+#else
+       NULL,
+#endif
+#ifdef FWP_FNA_ENABLED
+        &fwp_fna_operations
+#else
+       NULL
+#endif
 };