]> git.ozlabs.org Git - petitboot/blob - lib/pb-config/pb-config.h
ui/ncurses: Add nc_scr_{un,}post()
[petitboot] / lib / pb-config / pb-config.h
1 #ifndef CONFIGURATION_H
2 #define CONFIGURATION_H
3
4 #include <stdbool.h>
5 #include <stdint.h>
6
7 #include <types/types.h>
8
9
10 int config_init(void *ctx);
11 const struct config *config_get(void);
12 int config_set(struct config *config);
13 void config_set_autoboot(bool autoboot_enabled);
14 int config_fini(void);
15
16 /* for use by the storage backends */
17 void config_set_defaults(struct config *config);
18
19 #endif /* CONFIGURATION_H */
20