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

http_async Struct Reference


Detailed Description

An asynchronous HTTP request.


Data Fields

guint magic
 Magic number.
http_state_t state
 Current request state.
guint32 flags
 Operational flags.
const gchar * url
 Initial URL request (atom).
const gchar * path
 Path to request (atom).
const gchar * host
 Hostname, if not a numeric IP (atom).
gnutella_socketsocket
 Attached socket.
http_header_cb_t header_ind
 Callback for headers.
http_data_cb_t data_ind
 Callback for data.
http_error_cb_t error_ind
 Callback for errors.
http_state_change_t state_chg
 Optional: callback for state changes.
time_t last_update
 Time of last activity.
gpointer io_opaque
 Opaque I/O callback information.
bio_source_tbio
 Bandwidth-limited source.
gpointer user_opaque
 User opaque data.
http_user_free_t user_free
 Free routine for opaque data.
http_asyncparent
 Parent request, for redirections.
http_buffer_tdelayed
 Delayed data that could not be sent.
gboolean allow_redirects
 Whether we can follow HTTP redirects.
GSList * children
 Child requests.
http_op_request_t op_request
 Creates HTTP request.


Field Documentation

gboolean http_async::allow_redirects
 

Whether we can follow HTTP redirects.

bio_source_t* http_async::bio
 

Bandwidth-limited source.

GSList* http_async::children
 

Child requests.

http_data_cb_t http_async::data_ind
 

Callback for data.

http_buffer_t* http_async::delayed
 

Delayed data that could not be sent.

http_error_cb_t http_async::error_ind
 

Callback for errors.

guint32 http_async::flags
 

Operational flags.

http_header_cb_t http_async::header_ind
 

Callback for headers.

const gchar* http_async::host
 

Hostname, if not a numeric IP (atom).

gpointer http_async::io_opaque
 

Opaque I/O callback information.

time_t http_async::last_update
 

Time of last activity.

guint http_async::magic
 

Magic number.

http_op_request_t http_async::op_request
 

Creates HTTP request.

struct http_async* http_async::parent
 

Parent request, for redirections.

const gchar* http_async::path
 

Path to request (atom).

struct gnutella_socket* http_async::socket
 

Attached socket.

http_state_t http_async::state
 

Current request state.

http_state_change_t http_async::state_chg
 

Optional: callback for state changes.

const gchar* http_async::url
 

Initial URL request (atom).

http_user_free_t http_async::user_free
 

Free routine for opaque data.

gpointer http_async::user_opaque
 

User opaque data.


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