X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdevice-handler.h;h=133eff3f3cd1e8a3ebd5e91ed43101b38dbbce68;hp=874133db16032adc28f7af27872f9b576f19d12c;hb=78819395e5aa0dbd0c484f7a2512fcf04b87bbf2;hpb=4563c5d672f605c493996a652b9e3e588a8596dd diff --git a/discover/device-handler.h b/discover/device-handler.h index 874133d..133eff3 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -11,6 +11,7 @@ struct discover_device; struct discover_server; struct boot_option; struct boot_command; +struct process_info; struct event; struct device; struct waitset; @@ -108,6 +109,11 @@ void device_handler_status_dev_info(struct device_handler *handler, struct discover_device *dev, const char *fmt, ...); void device_handler_status_dev_err(struct device_handler *handler, struct discover_device *dev, const char *fmt, ...); +void device_handler_status_download(struct device_handler *handler, + const struct process_info *procinfo, + unsigned int percentage, unsigned int size, char suffix); +void device_handler_status_download_remove(struct device_handler *handler, + struct process_info *procinfo); struct discover_context *device_handler_discover_context_create( struct device_handler *handler,