#include <uploads.h>
Data Fields | |
| gnet_upload_t | upload_handle |
| guint32 | flags |
| Operating flags. | |
| upload_stage_t | status |
| gnutella_socket * | socket |
| gint | error_sent |
| HTTP error code sent back. | |
| gpointer | io_opaque |
| Opaque I/O callback information. | |
| gpointer | parq_opaque |
| Opaque parq information. | |
| gint | file_desc |
| bio_source_t * | bio |
| Bandwidth-limited source. | |
| sendfile_ctx_t | sendfile_ctx |
| special_ctx * | special |
| For special ops like browsing. | |
| gchar * | buffer |
| gint | bpos |
| gint | bsize |
| gint | buf_size |
| guint | index |
| gchar * | name |
| filesize_t | file_size |
| time_t | start_date |
| time_t | last_update |
| dl_file_info * | file_info |
| For PFSP: only set when partial file. | |
| host_addr_t | addr |
| Remote IP address. | |
| gchar * | user_agent |
| Remote user agent. | |
| gint | country |
| Country of origin, ISO3166 code. | |
| filesize_t | skip |
| First byte to send, inclusive. | |
| filesize_t | end |
| Last byte to send, inclusive. | |
| filesize_t | pos |
| Read position in file we're sending. | |
| filesize_t | sent |
| Bytes sent in this request. | |
| host_addr_t | gnet_addr |
| Advertised remote IP address. | |
| guint16 | gnet_port |
| Advertised Gnet port, for browsing. | |
| guint32 | last_dmesh |
| Time when last download mesh was sent. | |
| gchar * | sha1 |
| SHA1 of requested file. | |
| filesize_t | total_requested |
| Total amount of bytes requested. | |
| gint | http_major |
| HTTP major version. | |
| gint | http_minor |
| HTTP minor version. | |
| gboolean | keep_alive |
| Keep HTTP connection? | |
| gboolean | push |
| gboolean | queue |
| Similar to PUSH, but for PARQ's QUEUE. | |
| gboolean | accounted |
| True when upload was accounted for. | |
| gboolean | unavailable_range |
| True when last request ended with 416. | |
| gboolean | n2r |
| True when they sent an N2R request. | |
| gboolean | browse_host |
| True when they sent a Browse Host req. | |
| gboolean | from_browser |
| True when request likely from browser. | |
| gboolean | parq_status |
|
|
True when upload was accounted for.
|
|
|
Remote IP address.
|
|
|
Bandwidth-limited source.
|
|
|
|
|
|
True when they sent a Browse Host req.
|
|
|
|
|
|
|
|
|
|
|
|
Country of origin, ISO3166 code.
|
|
|
Last byte to send, inclusive.
|
|
|
HTTP error code sent back.
|
|
|
|
|
|
For PFSP: only set when partial file.
|
|
|
|
|
|
Operating flags.
|
|
|
True when request likely from browser.
|
|
|
Advertised remote IP address.
|
|
|
Advertised Gnet port, for browsing.
|
|
|
HTTP major version.
|
|
|
HTTP minor version.
|
|
|
|
|
|
Opaque I/O callback information.
|
|
|
Keep HTTP connection?
|
|
|
Time when last download mesh was sent.
|
|
|
|
|
|
True when they sent an N2R request.
|
|
|
|
|
|
Opaque parq information.
|
|
|
|
|
|
Read position in file we're sending.
|
|
|
|
|
|
Similar to PUSH, but for PARQ's QUEUE.
|
|
|
|
|
|
Bytes sent in this request.
|
|
|
SHA1 of requested file.
|
|
|
First byte to send, inclusive.
|
|
|
|
|
|
For special ops like browsing.
|
|
|
|
|
|
|
|
|
Total amount of bytes requested.
|
|
|
True when last request ended with 416.
|
|
|
|
|
|
Remote user agent.
|
1.3.6