config.h (424B)
1 #ifndef __PMLAG_UTIL_CONFIG_H__ 2 #define __PMLAG_UTIL_CONFIG_H__ 3 4 #include <stdint.h> 5 6 #include "finwo/mindex.h" 7 8 struct pmlag_configuration_bond { 9 char *name; 10 char **interface; 11 uint16_t interface_count; 12 uint16_t tick_rate; 13 }; 14 15 struct pmlag_configuration { 16 struct mindex_t *bonds; 17 }; 18 19 struct pmlag_configuration * config_load(char * filepath, struct pmlag_configuration *config); 20 21 #endif // __PMLAG_UTIL_CONFIG_H__