Files
libcoap/examples/riot/examples_libcoap_server/server-coap.h
T
Jon Shallow e25cf94d2a RIOT: Update to use SOCK i/f, not Posix
Remove all references to Posix functions, using Sock functions as appropriate.

Update coap_address_t to be RIOT specific when doing RIOT builds.
2024-03-12 17:15:01 +00:00

27 lines
476 B
C

/*
* server-coap.h -- RIOT client example
*
* Copyright (C) 2023-2024 Jon Shallow <supjps-libcoap@jpshallow.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* This file is part of the CoAP library libcoap. Please see README for terms
* of use.
*/
#ifndef SERVER_COAP_H
#define SERVER_COAP_H
#ifdef __cplusplus
extern "C" {
#endif
/* Start up the CoAP Server */
void server_coap_init(int argc, char **argv);
#ifdef __cplusplus
}
#endif
#endif /* SERVER_COAP_H */