#include <downloads.h>
Data Fields | |
gnet_src_t | src_handle |
Handle. | |
gchar | error_str [256] |
Used to sprintf() error strings with vars. | |
download_status_t | status |
Current status of the download. | |
gpointer | io_opaque |
Opaque I/O callback information. | |
bio_source * | bio |
Bandwidth-limited source. | |
dl_server * | server |
Remote server description. | |
enum dl_list | list_idx |
List to which download belongs in server. | |
dl_file_info * | file_info |
guint32 | record_index |
Index of the file on the Gnutella server. | |
gchar * | file_name |
Name of the file on the Gnutella server. | |
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_socket * | socket |
gint | file_desc |
FD for writing into downloaded file. | |
guint32 | overlap_size |
Size of the overlapping window on resume. | |
http_buffer * | req |
HTTP request, when partially sent. | |
dl_buffers * | buffers |
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. | |
tm_t | header_sent |
When we sent headers, for latency. | |
guint32 | retries |
guint32 | timeout_delay |
guint32 | served_reqs |
Amount of served requests on connection. | |
const gchar * | remove_msg |
gchar * | sha1 |
Known SHA1 (binary atom), NULL if none. | |
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. | |
cproxy * | cproxy |
Push proxy being used currently. | |
gpointer | queue_status |
Queuing status. | |
browse_ctx * | browse |
For browse-host requests. |
|
Always use the push method for this.
|
|
Bandwidth-limited source.
|
|
For browse-host requests.
|
|
Buffers for reading, only when active.
|
|
|
|
Push proxy being used currently.
|
|
Used to sprintf() error strings with vars.
|
|
As file_name, with control chars escaped.
|
|
FD for writing into downloaded file.
|
|
|
|
Name of the file on the Gnutella server.
|
|
Total size of the file, in bytes.
|
|
|
|
Whether initiated from GIV reception.
|
|
When we sent headers, for latency.
|
|
Opaque I/O callback information.
|
|
Keep HTTP connection?
|
|
Time when last download mesh was sent.
|
|
Last stats update on the GUI.
|
|
Last status update or I/O.
|
|
List to which download belongs in server.
|
|
Size of the overlapping window on resume.
|
|
# of bytes of the file we currently have
|
|
Currently in push mode.
|
|
Queuing status.
|
|
1st byte offset AFTER requested range
|
|
PFSP -- known list of ranges, or NULL.
|
|
PFSP -- size of remotely available data.
|
|
Index of the file on the Gnutella server.
|
|
Stamp of the query hit that launched us.
|
|
|
|
HTTP request, when partially sent.
|
|
|
|
Time at which we may retry this download.
|
|
Amount of served requests on connection.
|
|
Remote server description.
|
|
Known SHA1 (binary atom), NULL if none.
|
|
Amount of data left to sink.
|
|
Total size of the next request, in bytes.
|
|
# of bytes for file we had before start
|
|
|
|
Handle.
|
|
Download start date.
|
|
Current status of the download.
|
|
|
|
Set on Timout, Push route lost.
|
|
Uri if not dealing with regular gnutella < file download.
|
|
The download is visible in the GUI.
|