diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-16 16:03:48 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-20 16:40:21 +1100 |
commit | 78819395e5aa0dbd0c484f7a2512fcf04b87bbf2 (patch) | |
tree | 30997019249050238e726935b62cd53fd347c6f7 /man | |
parent | ca11198f4034266b0f48b37e5871c44d1399aba6 (diff) | |
download | talos-petitboot-78819395e5aa0dbd0c484f7a2512fcf04b87bbf2.tar.gz talos-petitboot-78819395e5aa0dbd0c484f7a2512fcf04b87bbf2.zip |
discover/device-handler: Add aggregated download progress updates
Several processes run by Petitboot output progress information while
running. Add device_handler_status_download() which process callers can
call to register and update progress information (percentage and current
size).
A list of 'progress_info' structs holds this progress information, and
on each call to device_handler_status_download() the information is
combined and displayed as a single status update for readability.
On completion device_handler_status_download_remove() is called to
remove old progress information from the list.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions