]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
lib/url: Export is_url() function
[petitboot] / lib / types / types.h
index bb4b23ca5f601d61e083041580de45a53880eb63..9bb800ca4d125daa5d57169c8256e3d898eb05ea 100644 (file)
@@ -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 */