blob: cf9b80a1f712e3f866413d093b2fd184377dc97f [file] [log] [blame]
julhal012c18fbf2021-02-01 08:29:28 +00001/*
2 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/**
8 * A config store that implements the common config interface that
9 * saves configuration data in ram. This may be used in environments
10 * that are configured at run-time e.g. from device tree. The
11 * config_ramstore is a singleton.
12 */
13#ifndef CONFIG_RAMSTORE_H
14#define CONFIG_RAMSTORE_H
15
julhal012c18fbf2021-02-01 08:29:28 +000016#ifdef __cplusplus
17extern "C" {
18#endif
19
20/**
21 * \brief Initializes the singleton store
22 *
23 */
24void config_ramstore_init(void);
25
26/**
27 * \brief Clean-up the config_ramstore after use
28 */
29void config_ramstore_deinit(void);
30
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* CONFIG_RAMSTORE_H */