1 /*
2  * Copyright (c) 2019 Nordic Semiconductor ASA
3  * Copyright (c) 2025 Analog Devices, Inc.
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 #ifndef _SETTINGS_TEST_ITS_H
9 #define _SETTINGS_TEST_ITS_H
10 
11 #include <stdio.h>
12 #include <string.h>
13 #include <zephyr/ztest.h>
14 
15 #include <zephyr/settings/settings.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 extern uint8_t val8;
22 extern uint8_t val8_un;
23 extern uint32_t val32;
24 extern uint64_t val64;
25 
26 extern int test_get_called;
27 extern int test_set_called;
28 extern int test_commit_called;
29 extern int test_export_block;
30 
31 extern struct settings_handler c_test_handlers[];
32 
33 void ctest_clear_call_state(void);
34 int ctest_get_call_state(void);
35 
36 void config_wipe_srcs(void);
37 void *settings_config_setup(void);
38 void settings_config_teardown(void *fixture);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* _SETTINGS_TEST_ITS_H */
45