1 /*
2  * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * This is a STUB FILE HEADER used when compiling ESP-IDF to run tests on the host system.
7  * The header file used normally for ESP-IDF has the same name but is located elsewhere.
8  */
9 #pragma once
10 
11 #include <time.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 typedef int _lock_t;
18 
19 void _lock_acquire(_lock_t *lock);
20 void _lock_close(_lock_t *lock);
21 void _lock_init(_lock_t *lock);
22 void _lock_release(_lock_t *lock);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27