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
22  assert(s);
23  memset(s, 0, sizeof(coap_subscription_t));
24 }
25 #endif /* COAP_SERVER_SUPPORT */
Pulls together all the internal only header files.
void coap_subscription_init(coap_subscription_t *)
Number of notifications that may be sent non-confirmable before a confirmable message is sent to dete...