summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pb-config/storage.h')
-rw-r--r--lib/pb-config/storage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/pb-config/storage.h b/lib/pb-config/storage.h
new file mode 100644
index 0000000..a1d5269
--- /dev/null
+++ b/lib/pb-config/storage.h
@@ -0,0 +1,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