Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

download Struct Reference

#include <downloads.h>


Data Fields

gnet_src_t src_handle
 Handle.
gchar error_str [256]
 Used to snprintf() error strings.
download_status_t status
 Current status of the download.
gpointer io_opaque
 Opaque I/O callback information.
rxdrv_trx
 RX stack top.
bio_sourcebio
 Bandwidth-limited source.
dl_serverserver
 Remote server description.
dl_file_infofile_info
guint32 record_index
 Index of the file on the Gnutella server.
const gchar * file_name
 Name of the file on the Gnutella server.
const gchar * escaped_name
 As file_name, with control chars escaped.
filesize_t file_size
 Total size of the file, in bytes.
filesize_t size
 Total size of the next request, in bytes.
filesize_t skip
 # of bytes for file we had before start
filesize_t pos
 # of bytes of the file we currently have
filesize_t range_end
 1st byte offset AFTER requested range
gnutella_socketsocket
file_objectout_file
 downloaded file
guint32 overlap_size
 Size of the overlapping window on resume.
http_bufferreq
 HTTP request, when partially sent.
dl_buffersbuffers
 Buffers for reading, only when active.
time_t start_date
 Download start date.
time_t last_update
 Last status update or I/O.
time_t last_gui_update
 Last stats update on the GUI.
time_t record_stamp
 Stamp of the query hit that launched us.
time_t retry_after
 Time at which we may retry this download.
time_t head_ping_sent
 Time at which last HEAD ping was sent.
tm_t header_sent
 When we sent headers, for latency.
guint32 retries
guint32 timeout_delay
guint32 served_reqs
 Amount of served requests on connection.
guint32 mismatches
 Amount of resuming data mismatches.
guint32 header_read_eof
 EOF errors with empty headers.
guint32 data_timeouts
 # of timeouts after getting headers
const gchar * remove_msg
const struct sha1sha1
 Known SHA1 (binary atom), NULL if none.
const gchar * uri
 Uri if not dealing with regular gnutella < file download.
guint32 last_dmesh
 Time when last download mesh was sent.
GSList * ranges
 PFSP -- known list of ranges, or NULL.
filesize_t ranges_size
 PFSP -- size of remotely available data.
filesize_t sinkleft
 Amount of data left to sink.
guint32 flags
guint32 cflags
gboolean keep_alive
 Keep HTTP connection?
gboolean visible
 The download is visible in the GUI.
gboolean push
 Currently in push mode.
gboolean always_push
 Always use the push method for this.
gboolean got_giv
 Whether initiated from GIV reception.
gboolean unavailable
 Set on Timout, Push route lost.
cproxycproxy
 Push proxy being used currently.
parq_dl_queuedparq_dl
 Queuing status.
browse_ctxbrowse
 For browse-host requests.
thex_downloadthex
 For THEX downloads.


Field Documentation

gboolean download::always_push
 

Always use the push method for this.

struct bio_source* download::bio
 

Bandwidth-limited source.

struct browse_ctx* download::browse
 

For browse-host requests.

struct dl_buffers* download::buffers
 

Buffers for reading, only when active.

guint32 download::cflags
 

struct cproxy* download::cproxy
 

Push proxy being used currently.

guint32 download::data_timeouts
 

# of timeouts after getting headers

gchar download::error_str[256]
 

Used to snprintf() error strings.

const gchar* download::escaped_name
 

As file_name, with control chars escaped.

struct dl_file_info* download::file_info
 

const gchar* download::file_name
 

Name of the file on the Gnutella server.

filesize_t download::file_size
 

Total size of the file, in bytes.

guint32 download::flags
 

gboolean download::got_giv
 

Whether initiated from GIV reception.

time_t download::head_ping_sent
 

Time at which last HEAD ping was sent.

guint32 download::header_read_eof
 

EOF errors with empty headers.

tm_t download::header_sent
 

When we sent headers, for latency.

gpointer download::io_opaque
 

Opaque I/O callback information.

gboolean download::keep_alive
 

Keep HTTP connection?

guint32 download::last_dmesh
 

Time when last download mesh was sent.

time_t download::last_gui_update
 

Last stats update on the GUI.

time_t download::last_update
 

Last status update or I/O.

guint32 download::mismatches
 

Amount of resuming data mismatches.

struct file_object* download::out_file
 

downloaded file

guint32 download::overlap_size
 

Size of the overlapping window on resume.

struct parq_dl_queued* download::parq_dl
 

Queuing status.

filesize_t download::pos
 

# of bytes of the file we currently have

gboolean download::push
 

Currently in push mode.

filesize_t download::range_end
 

1st byte offset AFTER requested range

GSList* download::ranges
 

PFSP -- known list of ranges, or NULL.

filesize_t download::ranges_size
 

PFSP -- size of remotely available data.

guint32 download::record_index
 

Index of the file on the Gnutella server.

time_t download::record_stamp
 

Stamp of the query hit that launched us.

const gchar* download::remove_msg
 

struct http_buffer* download::req
 

HTTP request, when partially sent.

guint32 download::retries
 

time_t download::retry_after
 

Time at which we may retry this download.

rxdrv_t* download::rx
 

RX stack top.

guint32 download::served_reqs
 

Amount of served requests on connection.

struct dl_server* download::server
 

Remote server description.

const struct sha1* download::sha1
 

Known SHA1 (binary atom), NULL if none.

filesize_t download::sinkleft
 

Amount of data left to sink.

filesize_t download::size
 

Total size of the next request, in bytes.

filesize_t download::skip
 

# of bytes for file we had before start

struct gnutella_socket* download::socket
 

gnet_src_t download::src_handle
 

Handle.

time_t download::start_date
 

Download start date.

download_status_t download::status
 

Current status of the download.

struct thex_download* download::thex
 

For THEX downloads.

guint32 download::timeout_delay
 

gboolean download::unavailable
 

Set on Timout, Push route lost.

const gchar* download::uri
 

Uri if not dealing with regular gnutella < file download.

gboolean download::visible
 

The download is visible in the GUI.


The documentation for this struct was generated from the following file:
Generated on Sat Jun 30 17:53:33 2007 for gtk-gnutella by  doxygen 1.3.9.1