libcoap
4.3.0
subscribe.c
Go to the documentation of this file.
1
/* subscribe.c -- subscription handling for CoAP
2
* see draft-ietf-coap-observe-16
3
*
4
* Copyright (C) 2010--2019 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
12
#include "
coap3/coap_internal.h
"
13
14
void
15
coap_subscription_init
(
coap_subscription_t
*s) {
16
assert(s);
17
memset(s, 0,
sizeof
(
coap_subscription_t
));
18
}
coap_internal.h
Pulls together all the internal only header files.
coap_subscription_init
void coap_subscription_init(coap_subscription_t *s)
Definition:
subscribe.c:15
coap_subscription_t
Subscriber information.
Definition:
coap_subscribe_internal.h:47
src
subscribe.c
Generated on Mon Jun 21 2021 10:40:33 for libcoap by
1.9.1