| Top |
| raptor_www * | raptor_new_www () |
| raptor_www * | raptor_new_www_with_connection () |
| void | raptor_free_www () |
| void | (*raptor_www_write_bytes_handler) () |
| void | (*raptor_www_content_type_handler) () |
| void | raptor_www_set_user_agent () |
| void | raptor_www_set_proxy () |
| void | raptor_www_set_http_accept () |
| int | raptor_www_set_http_cache_control () |
| void | raptor_www_set_write_bytes_handler () |
| void | raptor_www_set_connection_timeout () |
| void | raptor_www_set_content_type_handler () |
| int | (*raptor_uri_filter_func) () |
| void | raptor_www_set_uri_filter () |
| void | (*raptor_www_final_uri_handler) () |
| raptor_uri * | raptor_www_get_final_uri () |
| void | raptor_www_set_final_uri_handler () |
| int | raptor_www_fetch () |
| int | raptor_www_fetch_to_string () |
| void * | raptor_www_get_connection () |
| int | raptor_www_set_ssl_cert_options () |
| int | raptor_www_set_ssl_verify_options () |
| void | raptor_www_abort () |
Provides a wrapper to the resolution of URIs to give content using an underlying WWW-retrieval library. The content is delivered by callbacks and includes returning content type for handling content-negotation by the caller as well as chunks of byte content.
raptor_www * raptor_new_www_with_connection (raptor_world *world,void *connection);
void (*raptor_www_write_bytes_handler) (raptor_www *www,void *userdata,const void *ptr,size_t size,size_t nmemb);
Receiving bytes of data from WWW retrieval handler.
void (*raptor_www_content_type_handler) (raptor_www *www,void *userdata,const char *content_type);
Receiving Content-Type: header from WWW retrieval handler.
void raptor_www_set_user_agent (raptor_www *www,const char *user_agent);
int raptor_www_set_http_cache_control (raptor_www *www,const char *cache_control);
void raptor_www_set_write_bytes_handler (raptor_www *www,raptor_www_write_bytes_handler handler,void *user_data);
void raptor_www_set_connection_timeout (raptor_www *www,int timeout);
void raptor_www_set_content_type_handler (raptor_www *www,raptor_www_content_type_handler handler,void *user_data);
int (*raptor_uri_filter_func) (void *user_data,raptor_uri *uri);
Callback function for raptor_www_set_uri_filter
void raptor_www_set_uri_filter (raptor_www *www,raptor_uri_filter_func filter,void *user_data);
void (*raptor_www_final_uri_handler) (raptor_www *www,void *userdata,raptor_uri *final_uri);
Receiving the final resolved URI from a WWW retrieval
void raptor_www_set_final_uri_handler (raptor_www *www,raptor_www_final_uri_handler handler,void *user_data);
int raptor_www_fetch_to_string (raptor_www *www,raptor_uri *uri,void **string_p,size_t *length_p,raptor_data_malloc_handler const malloc_handler);
int raptor_www_set_ssl_cert_options (raptor_www *www,const char *cert_filename,const char *cert_type,const char *cert_passphrase);
int raptor_www_set_ssl_verify_options (raptor_www *www,int verify_peer,int verify_host);