1 /*
2  * Copyright (c) 2018 Nordic Semiconductor ASA
3  * Copyright (c) 2015 Runtime Inc
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 #ifndef __SETTINGS_FCB_H_
9 #define __SETTINGS_FCB_H_
10 
11 #include <zephyr/fs/fcb.h>
12 #include <zephyr/settings/settings.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 struct settings_fcb {
19 	struct settings_store cf_store;
20 	struct fcb cf_fcb;
21 };
22 
23 extern int settings_fcb_src(struct settings_fcb *cf);
24 extern int settings_fcb_dst(struct settings_fcb *cf);
25 void settings_mount_fcb_backend(struct settings_fcb *cf);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif /* __SETTINGS_FCB_H_ */
32