mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-27 13:11:24 +03:00
RIOT: Add in cplusplus wrappers to example header files
This commit is contained in:
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 */
|
||||
Reference in new issue
Block a user