2 * @file frescan_bwres.h
4 * @brief FRESCAN bandwidth reservation layer
6 * This module contains function to negotiate contracts and get the
7 * corresponding frescan sporadic servers.
13 * @author Daniel Sangorrin <daniel.sangorrin@unican.es>
17 #ifndef _FRESCAN_BANDWIDTH_RESERVATION_H_
18 #define _FRESCAN_BANDWIDTH_RESERVATION_H_
21 #include "frescan_data.h"
23 extern int frescan_bwres_init(frescan_network_t net);
25 extern int frescan_bwres_negotiate(frescan_network_t net,
26 const frescan_contract_t *contract,
30 // TODO: add other functions: renegotiate, cancel...
32 #endif // _FRESCAN_BANDWIDTH_RESERVATION_H_