Files
libcoap/examples/lwip/server-coap.h
T
Jon Shallow 7b39908e82 LwIP: Add in TinyDTLS support
The dtls versions of the server and client are built as
server-dtls and client-dtls.

Add in flexible option support for server and client.  These are
a subset of the coap-server and coap-client options.
2022-10-29 13:26:43 +01:00

25 lines
609 B
C

/*
* server-coap.h -- LwIP example
*
* Copyright (C) 2013-2016 Christian Amsüss <chrysn@fsfe.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* This file is part of the CoAP library libcoap. Please see README for terms
* of use.
*/
#include "coap_config.h"
#include <coap3/coap.h>
/* Start up the CoAP Server */
void server_coap_init(coap_lwip_input_wait_handler_t input_wait, void *input_arg,
int argc, char **argv);
/* Close down CoAP activity */
void server_coap_finished(void);
/* call this when you think that resources could be dirty */
void server_coap_poll(void);