blob: e430301f0381d509d6126b9a462bcc60723f2be1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include <stdbool.h>
#include <stdint.h>
#include <types/types.h>
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);
struct config *config_copy(void *ctx, const struct config *src);
#endif /* CONFIGURATION_H */
|