mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 09:42:54 +03:00
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.
25 lines
609 B
C
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);
|