#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_t * | rx |
| RX stack top. | |
| bio_source * | bio |
| Bandwidth-limited source. | |
| dl_server * | server |
| Remote server description. | |
| dl_file_info * | file_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_socket * | socket |
| file_object * | out_file |
| 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. | |
| 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 sha1 * | sha1 |
| 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. | |
| cproxy * | cproxy |
| Push proxy being used currently. | |
| parq_dl_queued * | parq_dl |
| Queuing status. | |
| browse_ctx * | browse |
| For browse-host requests. | |
| thex_download * | thex |
| For THEX downloads. | |
|
|
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.
|
|
|
# of timeouts after getting headers
|
|
|
Used to snprintf() error strings.
|
|
|
As file_name, with control chars escaped.
|
|
|
|
|
|
Name of the file on the Gnutella server.
|
|
|
Total size of the file, in bytes.
|
|
|
|
|
|
Whether initiated from GIV reception.
|
|
|
Time at which last HEAD ping was sent.
|
|
|
EOF errors with empty headers.
|
|
|
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.
|
|
|
Amount of resuming data mismatches.
|
|
|
downloaded file
|
|
|
Size of the overlapping window on resume.
|
|
|
Queuing status.
|
|
|
# of bytes of the file we currently have
|
|
|
Currently in push mode.
|
|
|
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.
|
|
|
RX stack top.
|
|
|
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.
|
|
|
For THEX downloads.
|
|
|
|
|
|
Set on Timout, Push route lost.
|
|
|
Uri if not dealing with regular gnutella < file download.
|
|
|
The download is visible in the GUI.
|
1.3.9.1