zephyr/subsys/settings/include/settings/settings_fcb.h
Anas Nashif d918c98e1d cleanup: include/: move fcb.h to fs/fcb.h
move fcb.h to fs/fcb.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-06-27 22:55:49 -04:00

32 lines
582 B
C

/*
* Copyright (c) 2018 Nordic Semiconductor ASA
* Copyright (c) 2015 Runtime Inc
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __SETTINGS_FCB_H_
#define __SETTINGS_FCB_H_
#include <fs/fcb.h>
#include "settings/settings.h"
#ifdef __cplusplus
extern "C" {
#endif
struct settings_fcb {
struct settings_store cf_store;
struct fcb cf_fcb;
};
extern int settings_fcb_src(struct settings_fcb *cf);
extern int settings_fcb_dst(struct settings_fcb *cf);
void settings_mount_fcb_backend(struct settings_fcb *cf);
#ifdef __cplusplus
}
#endif
#endif /* __SETTINGS_FCB_H_ */