1 /*
2  * coap_debug_internal.h -- debug utilities
3  *
4  * Copyright (C) 2010-2011,2014-2023 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 README for terms
9  * of use.
10  */
11 
12 /**
13  * @file coap_debug_internal.h
14  * @brief CoAP Logging support internal information
15  */
16 
17 #ifndef COAP_DEBUG_INTERNAL_H_
18 #define COAP_DEBUG_INTERNAL_H_
19 
20 /**
21  * Check to see whether a packet should be sent or not.
22  *
23  * Internal function
24  *
25  * @return @c 1 if packet is to be sent, @c 0 if packet is to be dropped.
26  */
27 int coap_debug_send_packet(void);
28 
29 /**
30  * Reset all the defined logging parameters.
31  *
32  * Internal function
33  */
34 void coap_debug_reset(void);
35 
36 #endif /* COAP_DEBUG_INTERNAL_H_ */
37