X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ui%2Fcommon%2Fdiscover-client.h;h=ed1f504c4e59904ecbcd9d8ac5685b7b7b757e44;hb=d28b706489cfd2c11e281ff3eaeb136ca154a1ee;hp=2245a65141330883383af48f9e448fa4e4a0e256;hpb=e793a9b5a07a677c1d9d33f4757b67c25dbf2eed;p=petitboot diff --git a/ui/common/discover-client.h b/ui/common/discover-client.h index 2245a65..ed1f504 100644 --- a/ui/common/discover-client.h +++ b/ui/common/discover-client.h @@ -9,6 +9,7 @@ struct discover_client; struct pb_boot_data { char *image; char *initrd; + char *dtb; char *args; }; @@ -59,4 +60,8 @@ int discover_client_boot(struct discover_client *client, const struct device *device, const struct boot_option *boot_option, const struct pb_boot_data *data); + +/* Tell the discover server to cancel the default boot option, if any + */ +int discover_client_cancel_default(struct discover_client *client); #endif