• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * server-coap.h -- LwIP example
3  *
4  * Copyright (C) 2013-2016 Christian Amsüss <chrysn@fsfe.org>
5  * Copyright (C) 2022-2023 Jon Shallow <supjps-libcoap@jpshallow.com>
6  *
7  * SPDX-License-Identifier: BSD-2-Clause
8  *
9  * This file is part of the CoAP library libcoap. Please see README for terms
10  * of use.
11  */
12 
13 #include "coap_config.h"
14 #include <coap3/coap.h>
15 
16 /* Start up the CoAP Client */
17 void client_coap_init(coap_lwip_input_wait_handler_t input_wait, void *input_arg,
18                       int argc, char **argv);
19 
20 /* Close down CoAP activity */
21 
22 void client_coap_finished(void);
23 
24 /*
25  * Call this when you think that work needs to be done
26  *
27  * Returns: 1 if there is no more work to be done, else 0
28  */
29 int client_coap_poll(void);
30