1 #ifndef CONFIGURATION_H
2 #define CONFIGURATION_H
9 struct interface_config {
10 uint8_t hwaddr[HWADDR_SIZE];
27 struct network_config {
28 struct interface_config **interfaces;
33 bool autoboot_enabled;
34 struct network_config network;
38 int config_init(void *ctx);
39 const struct config *config_get(void);
40 void config_set_autoboot(bool autoboot_enabled);
41 int config_fini(void);
43 #endif /* CONFIGURATION_H */