summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/pb-config.h
blob: 1cfaca3b1a28332124b00cbd50b79587701c97c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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);

#endif /* CONFIGURATION_H */

OpenPOWER on IntegriCloud