Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <curl_utils.h>
Data Fields | |
curl_opensocket_callback | curl_open_socket_cb |
void * | curl_open_socket_data |
size_t | per_write_buffer_size |
const char * | user_agent |
Definition at line 392 of file curl_utils.h.
curl_opensocket_callback curl_open_socket_cb |
Set this to a custom function that has a matching prototype, set it to ast_curl_open_socket_default_cb to use the default callback, or leave it at NULL to not use any callback.
Definition at line 410 of file curl_utils.h.
void* curl_open_socket_data |
Set this to whatever your curl_open_socket_cb needs. If using ast_curl_open_socket_default_cb, this MUST be set to an ast_curl_open_socket_data structure. If set to NULL, curl_open_socket_cb will not be called.
Definition at line 417 of file curl_utils.h.
size_t per_write_buffer_size |
Set this to limit the amount of data in each call to ast_curl_write_cb_t.
Definition at line 402 of file curl_utils.h.
const char* user_agent |
If not set, AST_CURL_USER_AGENT (defined in asterisk.h) will be used.
Definition at line 397 of file curl_utils.h.