NetSurf
Functions | Variables
curl.h File Reference

Fetching of data from a URL (Registration). More...

#include <curl/curl.h>
Include dependency graph for curl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror fetch_curl_register (void)
 Register curl scheme handler. More...
 

Variables

CURLM * fetch_curl_multi
 Global cURL multi handle. More...
 

Detailed Description

Fetching of data from a URL (Registration).

Definition in file curl.h.

Function Documentation

◆ fetch_curl_register()

nserror fetch_curl_register ( void  )

Register curl scheme handler.

Returns
NSERROR_OK on successful registration or error code on failure.

Definition at line 1965 of file curl.c.

References CIPHER_LIST, CIPHER_SUITES, curl_fetch_ssl_hashmap, curl_fetch_ssl_hashmap_parameters, curl_with_openssl, fetch_blank_curl, fetch_curl_abort(), fetch_curl_can_fetch(), fetch_curl_data(), fetch_curl_debug(), fetch_curl_fdset(), fetch_curl_finalise(), fetch_curl_free(), fetch_curl_header(), fetch_curl_initialise(), fetch_curl_multi, fetch_curl_poll(), fetch_curl_progress(), fetch_curl_setup(), fetch_curl_socket_close(), fetch_curl_socket_open(), fetch_curl_start(), fetch_error_buffer, fetcher_add(), hashmap_create(), fetcher_operation_table::initialise, NSCURLOPT_PROGRESS_FUNCTION, NSERROR_INIT_FAILED, NSERROR_NOMEM, NSERROR_OK, NSLOG, nsoption_bool, nsoption_charp, nsoption_int, nsoption_uint, SETOPT, and user_agent_string().

Referenced by fetcher_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ fetch_curl_multi

CURLM* fetch_curl_multi
extern

Global cURL multi handle.

Definition at line 271 of file curl.c.

Referenced by fetch_curl_fdset(), fetch_curl_finalise(), fetch_curl_initiate_fetch(), fetch_curl_poll(), fetch_curl_register(), and fetch_curl_stop().