mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-24 08:01:03 +03:00
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.
16 lines
402 B
C
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"
|
|
|