]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/pb-config.h
discover/powerpc: Invalidate next bootdev after reading
[petitboot] / lib / pb-config / pb-config.h
index 1cfaca3b1a28332124b00cbd50b79587701c97c7..2bcc251a47bee565798b4574131755ee17064254 100644 (file)
@@ -1,20 +1,9 @@
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
-
-#include <stdbool.h>
-#include <stdint.h>
+#ifndef PB_CONFIG_H
+#define PB_CONFIG_H
 
 #include <types/types.h>
 
+struct config *config_copy(void *ctx, const struct config *src);
 
-int config_init(void *ctx);
-const struct config *config_get(void);
-int config_set(struct config *config);
-void config_set_autoboot(bool autoboot_enabled);
-int config_fini(void);
-
-/* for use by the storage backends */
-void config_set_defaults(struct config *config);
-
-#endif /* CONFIGURATION_H */
+#endif /* PB_CONFIG_H */