Files
libcoap/src/subscribe.c
T
Jon Shallow 0aeb0d6247 doxygen: Tidy up Modules and Files tab information
doc/module_api_wrap.h: New

Used to split modules into Application and Internal only.

include/coap/*.h:

Module (@defgroup) description put into group application_api or internal_api
as appropriate.

Add in @file information if missing.

src/*.c

Add in @file information.
2021-09-30 16:59:04 +01:00

26 lines
580 B
C

/* subscribe.c -- subscription handling for CoAP
* see draft-ietf-coap-observe-16
*
* Copyright (C) 2010--2019 Olaf Bergmann <bergmann@tzi.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* This file is part of the CoAP library libcoap. Please see
* README for terms of use.
*/
/**
* @file subscribe.c
* @brief Subscription handling functions
*/
#include "coap3/coap_internal.h"
#if COAP_SERVER_SUPPORT
void
coap_subscription_init(coap_subscription_t *s) {
assert(s);
memset(s, 0, sizeof(coap_subscription_t));
}
#endif /* COAP_SERVER_SUPPORT */