X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Fpb-config%2Fpb-config.h;h=2bcc251a47bee565798b4574131755ee17064254;hp=1cfaca3b1a28332124b00cbd50b79587701c97c7;hb=fa5c9dfa37957d45b13424ade53d477f0b123102;hpb=5ac810ae1779fdd730637d146faf8a762bedd522 diff --git a/lib/pb-config/pb-config.h b/lib/pb-config/pb-config.h index 1cfaca3..2bcc251 100644 --- a/lib/pb-config/pb-config.h +++ b/lib/pb-config/pb-config.h @@ -1,20 +1,9 @@ -#ifndef CONFIGURATION_H -#define CONFIGURATION_H - -#include -#include +#ifndef PB_CONFIG_H +#define PB_CONFIG_H #include +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 */