RIOT: Add in cplusplus wrappers to example header files

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-08-19 11:56:30 +01:00
1 parent 45261daea9
commit 760dd4bc9b
2 files changed
+26

No files matched your search

@@ -9,8 +9,21 @@
* of use.
*/
#ifndef CLIENT_COAP_H
#define CLIENT_COAP_H
#ifdef __cplusplus
extern "C" {
#endif
#include "coap_config.h"
#include <coap3/coap.h>
/* Start up the CoAP Client */
void client_coap_init(int argc, char **argv);
#ifdef __cplusplus
}
#endif
#endif /* CLIENT_COAP_H */
@@ -9,8 +9,21 @@
* of use.
*/
#ifndef SERVER_COAP_H
#define SERVER_COAP_H
#ifdef __cplusplus
extern "C" {
#endif
#include "coap_config.h"
#include <coap3/coap.h>
/* Start up the CoAP Server */
void server_coap_init(int argc, char **argv);
#ifdef __cplusplus
}
#endif
#endif /* SERVER_COAP_H */