25#define AST_CURL_DEFAULT_MAX_HEADER_LEN 2048
27#ifndef CURL_WRITEFUNC_ERROR
28#define CURL_WRITEFUNC_ERROR 0
216 size_t nitems,
void *client_data);
311size_t curl_write_cb(
char *data,
size_t size,
size_t nmemb,
void *clientp);
376 curlsocktype purpose,
struct curl_sockaddr *
address);
451long curler(
const char *
url,
int request_timeout,
Access Control of various sorts.
void curl_write_data_free(void *obj)
size_t curl_write_cb(char *data, size_t size, size_t nmemb, void *clientp)
A default implementation of a write data callback.
curl_socket_t curl_open_socket_cb(void *client_data, curlsocktype purpose, struct curl_sockaddr *address)
A default implementation of an open socket callback.
void curl_open_socket_data_free(void *obj)
long curl_download_to_file(const char *url, char *filename)
Really simple document retrieval to file.
long curl_download_to_memory(const char *url, size_t *returned_length, char **returned_data, struct ast_variable **headers)
Really simple document retrieval to memory.
long curler(const char *url, int request_timeout, struct curl_write_data *write_data, struct curl_header_data *header_data, struct curl_open_socket_data *open_socket_data)
Perform a curl request.
Wrapper for an ast_acl linked list.
Structure for variables, used for configurations and for channel variables.
Context structure passed to ast_curl_open_socket_default_cb.
const struct ast_acl_list * acl
size_t per_write_buffer_size
curl_opensocket_callback curl_open_socket_cb
void * curl_open_socket_data
Context structure passed to ast_curl_write_default_cb.
size_t max_download_bytes
size_t stream_bytes_downloaded