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