ELinks 0.18.0
download Struct Reference

#include <download.h>

Collaboration diagram for download:

Public Member Functions

 LIST_HEAD_EL (struct download)
 

Data Fields

struct connectionconn
 
struct cache_entrycached
 
download_callback_Tcallback
 The callback is called when connection gets into a progress state, after it's over (in a result state), and also periodically after the download starts receiving some data.
 
void * data
 
struct progressprogress
 
struct connection_state state
 
struct connection_state prev_error
 
connection_priority_T pri
 

Member Function Documentation

◆ LIST_HEAD_EL()

download::LIST_HEAD_EL ( struct download )

Field Documentation

◆ cached

struct cache_entry* download::cached

◆ callback

download_callback_T* download::callback

The callback is called when connection gets into a progress state, after it's over (in a result state), and also periodically after the download starts receiving some data.

◆ conn

struct connection* download::conn

◆ data

void* download::data

◆ prev_error

struct connection_state download::prev_error

◆ pri

connection_priority_T download::pri

◆ progress

struct progress* download::progress

◆ state

struct connection_state download::state

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