X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=9bb800ca4d125daa5d57169c8256e3d898eb05ea;hp=bb4b23ca5f601d61e083041580de45a53880eb63;hb=769fd76dc9bf3440999297ab943af49160df9c45;hpb=7b793150f96a6fe6033ac1390a663b1b62be2df6 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 +#include #include 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 */