]> git.ozlabs.org Git - petitboot/blob - lib/pb-config/storage.h
config: Split interface configuration from network configuration
[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 };
11
12 struct config_storage *create_powerpc_nvram_storage(void *ctx);
13 struct config_storage *create_test_storage(void *ctx);
14 struct config_storage *create_null_storage(void *ctx);
15
16 #endif /* STORAGE_H */
17