LibPkg
Public Member Functions | Public Attributes | List of all members
pkg::commit::progress Struct Reference

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...
 

Detailed Description

A structure for monitoring the download progress of one source.

Constructor & Destructor Documentation

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.

Member Data Documentation

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.


The documentation for this struct was generated from the following files:

Reference Manual LibPkg Version 0.6.1 (28 Jan 2015)