summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types/types.h')
-rw-r--r--lib/types/types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index bb4b23c..9bb800c 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -2,6 +2,7 @@
#define _TYPES_H
#include <stdbool.h>
+#include <stdint.h>
#include <list/list.h>
enum device_type {
@@ -59,4 +60,18 @@ struct boot_status {
int progress;
};
+struct interface_info {
+ unsigned int hwaddr_size;
+ uint8_t *hwaddr;
+ char *name;
+};
+
+struct system_info {
+ char *type;
+ char *identifier;
+ struct interface_info **interfaces;
+ unsigned int n_interfaces;
+};
+
+
#endif /* _TYPES_H */
OpenPOWER on IntegriCloud