Files
libcoap/tests/test_common.h.in
T
Jon Shallow 79840df101 Coverity: Fix 1583538, 1583565 and 1583573
For the test suite, treat these tests as using the public API so locking
is handled by the underlying libcoap.

The only exception is for coap_delete_node() which is an internal function
and expects context to be locked on entry.
2024-03-14 08:53:29 +00:00

16 lines
402 B
C

/* libcoap unit tests common include
*
* Copyright (C) 2021-2024 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.
*/
/* We need to treat these tests as being an user application */
#define COAP_THREAD_IGNORE_LOCKED_MAPPING
#include "coap@LIBCOAP_API_VERSION@/coap_internal.h"