summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/storage.h
blob: a1d526981d1a417a75d14bbf2680110c690264ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef STORAGE_H
#define STORAGE_H

#include <stdbool.h>

struct config;

struct config_storage {
	int	(*load)(struct config_storage *st, struct config *config);
};

struct config_storage *create_powerpc_nvram_storage(void *ctx);
struct config_storage *create_test_storage(void *ctx);
struct config_storage *create_null_storage(void *ctx);

#endif /* STORAGE_H */

OpenPOWER on IntegriCloud