X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=bb4b23ca5f601d61e083041580de45a53880eb63;hb=1a9af828d9ad0da0efa7af286db78c8904344e6b;hp=5be2cb697597a3c12c177aea26644b67bc9e3dec;hpb=936e57208c8e651be0f3dee6cfc635d719410100;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index 5be2cb6..bb4b23c 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -4,8 +4,16 @@ #include #include +enum device_type { + DEVICE_TYPE_NETWORK, + DEVICE_TYPE_DISK, + DEVICE_TYPE_OPTICAL, + DEVICE_TYPE_UNKNOWN, +}; + struct device { char *id; + enum device_type type; char *name; char *description; char *icon_file; @@ -24,6 +32,7 @@ struct boot_option { char *icon_file; char *boot_image_file; char *initrd_file; + char *dtb_file; char *boot_args; bool is_default; @@ -36,6 +45,7 @@ struct boot_command { char *option_id; char *boot_image_file; char *initrd_file; + char *dtb_file; char *boot_args; };