libcoap
4.3.1
coap_subscribe.c
Go to the documentation of this file.
1
/* coap_subscribe.c -- subscription handling for CoAP
2
* see RFC7641
3
*
4
* Copyright (C) 2010-2019,2022 Olaf Bergmann <bergmann@tzi.org>
5
*
6
* SPDX-License-Identifier: BSD-2-Clause
7
*
8
* This file is part of the CoAP library libcoap. Please see
9
* README for terms of use.
10
*/
11
17
#include "
coap3/coap_internal.h
"
18
19
#if COAP_SERVER_SUPPORT
20
void
21
coap_subscription_init
(
coap_subscription_t
*s) {
22
assert(s);
23
memset(s, 0,
sizeof
(
coap_subscription_t
));
24
}
25
#endif
/* COAP_SERVER_SUPPORT */
coap_internal.h
Pulls together all the internal only header files.
coap_subscription_init
void coap_subscription_init(coap_subscription_t *)
coap_subscription_t
Number of notifications that may be sent non-confirmable before a confirmable message is sent to dete...
Definition:
coap_subscribe_internal.h:57
src
coap_subscribe.c
Generated on Fri Sep 2 2022 14:47:55 for libcoap by
1.9.4