]> rtime.felk.cvut.cz Git - frescor/fna.git/commitdiff
add prototypes for frescan
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 8 Apr 2008 08:43:25 +0000 (08:43 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 8 Apr 2008 08:43:25 +0000 (08:43 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1084 35b4ef3e-fd22-0410-ab77-dab3279adceb

include/frsh_fna.h

index 96f214a8d3805d3955fcbf11ac7c3dfc1e5d02e6..99a6b06d2de431e9e83253314a22b888a81c4c5b 100644 (file)
    #include "rtep.h"
 #endif
 
    #include "rtep.h"
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+#include "../src_frescan/frescan.h"
+#endif
+
 /**
  * @defgroup frshfna FNA Public Interface
  *
 /**
  * @defgroup frshfna FNA Public Interface
  *
@@ -128,6 +132,12 @@ int frsh_rtep_map_network_address(const frsh_resource_id_t resource_id,
                                   frsh_network_address_t *out_address);
 #endif
 
                                   frsh_network_address_t *out_address);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_map_network_address(const frsh_resource_id_t resource_id,
+                                     const frescan_node_t in_address,
+                                     frsh_network_address_t *out_address);
+#endif
+
 /**
  * frsh_XXXX_map_stream_id()
  *
 /**
  * frsh_XXXX_map_stream_id()
  *
@@ -154,6 +164,12 @@ int frsh_rtep_map_stream_id(const frsh_resource_id_t resource_id,
                             frsh_stream_id_t *out_stream);
 #endif
 
                             frsh_stream_id_t *out_stream);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_map_stream_id(const frsh_resource_id_t resource_id,
+                               const frescan_channel_t in_stream,
+                               frsh_stream_id_t *out_stream);
+#endif
+
 /*@}*/
 
 ///////////////////////////////////////////////////////////////////
 /*@}*/
 
 ///////////////////////////////////////////////////////////////////
@@ -199,6 +215,12 @@ int frsh_rtep_negotiation_messages_vres_renegotiate
        const struct timespec *period);
 #endif
 
        const struct timespec *period);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_negotiation_messages_vres_renegotiate
+      (const frsh_resource_id_t resource_id,
+       const struct timespec *period);
+#endif
+
 /**
  * frsh_XXXX_negotiation_messages_vres_get_period()
  *
 /**
  * frsh_XXXX_negotiation_messages_vres_get_period()
  *
@@ -223,6 +245,12 @@ int frsh_rtep_negotiation_messages_vres_get_period
        struct timespec *period);
 #endif
 
        struct timespec *period);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_negotiation_messages_vres_get_period
+      (const frsh_resource_id_t resource_id,
+       struct timespec *period);
+#endif
+
 /**
  * frsh_XXXX_service_thread_vres_renegotiate()
  *
 /**
  * frsh_XXXX_service_thread_vres_renegotiate()
  *
@@ -255,6 +283,14 @@ int frsh_rtep_service_thread_vres_renegotiate
     bool *accepted);
 #endif
 
     bool *accepted);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_service_thread_vres_renegotiate
+   (const frsh_resource_id_t resource_id,
+    const struct timespec *budget,
+    const struct timespec *period,
+    bool *accepted);
+#endif
+
 /**
  * frsh_XXXX_service_thread_vres_get_budget_and_period()
  *
 /**
  * frsh_XXXX_service_thread_vres_get_budget_and_period()
  *
@@ -280,6 +316,13 @@ int frsh_rtep_service_thread_vres_get_budget_and_period
        struct timespec *period);
 #endif
 
        struct timespec *period);
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+int frsh_frescan_service_thread_vres_get_budget_and_period
+      (const frsh_resource_id_t resource_id,
+       struct timespec *budget,
+       struct timespec *period);
+#endif
+
 /*@}*/
 
 #endif /* _FRSH_FNA_H_ */
 /*@}*/
 
 #endif /* _FRSH_FNA_H_ */