karazeh
A cross-platform software updating library.
kzh::download_t Struct Reference

#include <downloader.hpp>

Public Member Functions

 download_t (std::ostream &s)
 

Public Attributes

string_tbuf
 
int retry_no
 
uint64_t size
 
bool status
 
std::ostream & stream
 
bool to_file
 
string_t uri
 

Detailed Description

Used internally by the downloader to manage downloads

Constructor & Destructor Documentation

kzh::download_t::download_t ( std::ostream &  s)
inlineexplicit

Member Data Documentation

string_t* kzh::download_t::buf
int kzh::download_t::retry_no

Referenced by kzh::downloader::fetch().

uint64_t kzh::download_t::size
bool kzh::download_t::status
std::ostream& kzh::download_t::stream

Referenced by kzh::on_curl_data().

bool kzh::download_t::to_file
string_t kzh::download_t::uri

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