2 * @file frescan_negotiation_messages.h
4 * @brief FRESCAN negotiation messages format and operations
6 * This module contains the data types that define the FRESCAN negotiation
7 * message format and operations
13 * @author Daniel Sangorrin <daniel.sangorrin@unican.es>
17 #ifndef _FRESCAN_NEGOTIATION_MESSAGES_H_
18 #define _FRESCAN_NEGOTIATION_MESSAGES_H_
21 #include "frescan_requests_queue.h"
22 #include "frescan_data.h"
24 extern int frescan_request_to_message(uint8_t *msg,
25 frescan_request_id_t id,
26 const frescan_contract_t *contract);
28 extern int frescan_message_to_request(frescan_network_t net,
33 #endif // _FRESCAN_NEGOTIATION_MESSAGES_H_