mesh: add c++ guard to mesh_transport

This commit is contained in:
Matthias Ringwald 2018-11-28 21:49:12 +01:00
parent c956179d06
commit febca2ab74

View File

@ -35,6 +35,16 @@
*
*/
#ifndef __MESH_TRANSPORT_H
#define __MESH_TRANSPORT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdint.h>
#include "ble/mesh/mesh_network.h"
@ -51,3 +61,9 @@ uint8_t mesh_upper_transport_send_control_pdu(uint16_t netkey_index, uint8_t ttl
void mesh_upper_transport_set_seq(uint32_t seq);
void mesh_lower_transport_received_mesage(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pdu);
#ifdef __cplusplus
} /* end of extern "C" */
#endif
#endif