]> rtime.felk.cvut.cz Git - frescor/fna.git/blob - src_frescan/frescan_bwres_messages.h
c54d2343d20b4a433ece8e5c3b96db5aa78f8ec0
[frescor/fna.git] / src_frescan / frescan_bwres_messages.h
1 /*!
2  * @file frescan_bwres_messages.h
3  *
4  * @brief FRESCAN bandwidth reservation layer: negotiation messages formating
5  *
6  * This module contains the data types that define the FRESCAN negotiation
7  * message format and operations to convert them into or from negotiation
8  * requests
9  *
10  * @version 0.01
11  *
12  * @date 2-Apr-2008
13  *
14  * @author Daniel Sangorrin <daniel.sangorrin@unican.es>
15  *
16  */
17
18 #ifndef _FRESCAN_NEGOTIATION_MESSAGES_H_
19 #define _FRESCAN_NEGOTIATION_MESSAGES_H_
20
21 #include <stdint.h>
22 #include "frescan_requests.h"
23 #include "frescan_data.h"
24
25 extern int frescan_request_to_message(frescan_request_id_t id, // in
26                                       uint8_t *msg);           // out
27
28 extern int frescan_message_to_request(const uint8_t *msg,       // in
29                                       frescan_request_id_t id); // in out
30
31 #endif // _FRESCAN_NEGOTIATION_MESSAGES_H_