1 #ifndef CONFIGURATION_H
2 #define CONFIGURATION_H
9 struct interface_config {
10 uint8_t hwaddr[HWADDR_SIZE];
26 struct network_config {
27 struct interface_config **interfaces;
29 const char **dns_servers;
34 bool autoboot_enabled;
35 struct network_config network;
39 int config_init(void *ctx);
40 const struct config *config_get(void);
41 void config_set_autoboot(bool autoboot_enabled);
42 int config_fini(void);
44 #endif /* CONFIGURATION_H */