coap: Fix coap implentation with cxx

Closes https://github.com/espressif/esp-idf/issues/6804
This commit is contained in:
Harshit Malpani 2021-09-16 10:08:22 +05:30 committed by bot
parent 5fd169059d
commit d43bb775a5

View File

@ -11,6 +11,11 @@
#ifndef COAP_DTLS_H_
#define COAP_DTLS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "libcoap.h"
#include "coap_time.h"
#include "str.h"
@ -627,5 +632,8 @@ void coap_dtls_set_log_level(int level);
*/
int coap_dtls_get_log_level(void);
#ifdef __cplusplus
}
#endif
#endif /* COAP_DTLS_H */