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 coap_subscription_init(coap_subscription_t * s)15coap_subscription_init(coap_subscription_t *s) { 16 assert(s); 17 memset(s, 0, sizeof(coap_subscription_t)); 18 } 19