subscribe.c
Go to the documentation of this file.
/* 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.
*/
#include "coap3/coap_internal.h"
void
coap_subscription_init(coap_subscription_t *s) {
assert(s);
memset(s, 0, sizeof(coap_subscription_t));
}
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