mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
coap: Fix coap implentation with cxx
Closes https://github.com/espressif/esp-idf/issues/6804
This commit is contained in:
parent
5fd169059d
commit
d43bb775a5
@ -11,6 +11,11 @@
|
|||||||
#ifndef COAP_DTLS_H_
|
#ifndef COAP_DTLS_H_
|
||||||
#define COAP_DTLS_H_
|
#define COAP_DTLS_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "libcoap.h"
|
||||||
#include "coap_time.h"
|
#include "coap_time.h"
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
|
|
||||||
@ -627,5 +632,8 @@ void coap_dtls_set_log_level(int level);
|
|||||||
*/
|
*/
|
||||||
int coap_dtls_get_log_level(void);
|
int coap_dtls_get_log_level(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* COAP_DTLS_H */
|
#endif /* COAP_DTLS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user