]> rtime.felk.cvut.cz Git - frescor/fna.git/blobdiff - src/fna_configuration.c
public functions of frescan are available
[frescor/fna.git] / src / fna_configuration.c
index 8e325828936e2cd90e55076c05720f74a865f3a4..656f9c652de7f4cbb373b533013baf81cce621f1 100644 (file)
         #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,
-        // NULL, &rtep_fna_operations, &unix_fna_operations,
-        // &frescan_fna_operations // resource_id 0
-        NULL, // resource_id 1
-        NULL, // resource_id 2
-        NULL  // resource_id 3
+#else
+        NULL,
+#endif
+#ifdef RTEP_FNA_ENABLED
+        &rtep_fna_operations,
+#else
+        NULL,
+#endif
+#ifdef UNIX_FNA_ENABLED
+        &unix_fna_operations,
+#else
+       NULL,
+#endif
+#ifdef FWP_FNA_ENABLED
+        &fwp_fna_operations
+#else
+       NULL
+#endif
 };