]> rtime.felk.cvut.cz Git - frescor/fna.git/commitdiff
some functions need to be installed even if the node is not in the network
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 2 Feb 2009 12:01:31 +0000 (12:01 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 2 Feb 2009 12:01:31 +0000 (12:01 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1519 35b4ef3e-fd22-0410-ab77-dab3279adceb

src_rtep/rtep_fna_c.c

index 7c7030202294e0eb2509ff1caf935f1c9e961a2f..4cf83e188eb13e329f190c643aeca46e7706586e 100644 (file)
@@ -67,7 +67,6 @@
 #include "rtep.h" // for rtep_adainit, rtep_valid_multicast_id, ..
 #include "rtep_bandwith_reservation.h" // for rtep_bwres_*
 #include "rtep_fna.h" // function prototypes
-
 #include "fadt_freelist.h"
 
 #if 0
@@ -1051,6 +1050,7 @@ int rtep_fna_network_get_min_eff_budget
 // GLOBAL variable to install the network protocol in FRESCOR
 
 fna_operations_t rtep_fna_operations = {
+#ifdef RTEP_FNA_ENABLED
         .fna_init = rtep_fna_init,
         .fna_contract_negotiate = rtep_fna_contract_negotiate,
         .fna_contract_renegotiate_sync = rtep_fna_contract_renegotiate_sync,
@@ -1071,6 +1071,7 @@ fna_operations_t rtep_fna_operations = {
         .fna_send_endpoint_get_status = rtep_fna_send_endpoint_get_status,
         .fna_receive_endpoint_created = rtep_fna_receive_endpoint_created,
         .fna_receive_endpoint_get_status = rtep_fna_receive_endpoint_get_status,
+#endif
         .fna_network_get_max_message_size = rtep_fna_network_get_max_message_size,
         .fna_network_bytes_to_budget = rtep_fna_network_bytes_to_budget,
         .fna_network_budget_to_bytes = rtep_fna_network_budget_to_bytes,