LibPkg
|
A structure for monitoring the progress of one source. More...
#include <update.h>
Public Member Functions | |
progress () | |
Construct progress structure. More... | |
Public Attributes | |
size_type | bytes_done |
The number of bytes downloaded. More... | |
size_type | bytes_total |
The total number of bytes to download, or npos if not known. More... | |
size_type | bytes_prev |
The total number of bytes when most recently downloaded, or npos if no previous total is available. More... | |
A structure for monitoring the progress of one source.
pkg::update::progress::progress | ( | ) |
Construct progress structure.
By default no bytes have been downloaded, the total to download is unknown, and there is no total from a previous download.
size_type pkg::update::progress::bytes_done |
The number of bytes downloaded.
Referenced by pkg::update::poll().
size_type pkg::update::progress::bytes_total |
The total number of bytes to download, or npos if not known.
Referenced by pkg::update::poll().
size_type pkg::update::progress::bytes_prev |
The total number of bytes when most recently downloaded, or npos if no previous total is available.
Reference Manual | LibPkg | Version 0.9.0 (4 Sep 2020) |