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 int autoboot_timeout_sec;
36 struct network_config network;
40 int config_init(void *ctx);
41 const struct config *config_get(void);
42 void config_set_autoboot(bool autoboot_enabled);
43 int config_fini(void);
45 #endif /* CONFIGURATION_H */