]> git.ozlabs.org Git - petitboot/blob - lib/pb-config/storage.h
lib/process: Add add_stderr flag to process module
[petitboot] / lib / pb-config / storage.h
1 #ifndef STORAGE_H
2 #define STORAGE_H
3
4 #include <stdbool.h>
5
6 struct config;
7
8 struct config_storage {
9         int     (*load)(struct config_storage *st, struct config *config);
10         int     (*save)(struct config_storage *st, struct config *config);
11 };
12
13 struct config_storage *create_powerpc_nvram_storage(void *ctx);
14 struct config_storage *create_test_storage(void *ctx);
15 struct config_storage *create_null_storage(void *ctx);
16
17 #endif /* STORAGE_H */
18