LibPkg
|
A structure for monitoring the download progress of one source. More...
#include <commit.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_ctrl |
The total number of bytes specified in the control record, or npos if no total was given. More... | |
A structure for monitoring the download progress of one source.
pkg::commit::progress::progress | ( | ) |
Construct progress structure.
By default no bytes have been downloaded, the total to download is unknown, and there is no total from the control record.
size_type pkg::commit::progress::bytes_done |
The number of bytes downloaded.
size_type pkg::commit::progress::bytes_total |
The total number of bytes to download, or npos if not known.
size_type pkg::commit::progress::bytes_ctrl |
The total number of bytes specified in the control record, or npos if no total was given.
Reference Manual | LibPkg | Version 0.6.1 (28 Jan 2015) |