|
RTS API Documentation
1.10.11
|
#include <curl/curl.h>
Include dependency graph for switch_curl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | HAVE_SWITCH_CURL_MIME |
| #define | switch_curl_easy_setopt curl_easy_setopt |
Typedefs | |
| typedef struct curl_slist | switch_curl_slist_t |
| typedef int | switch_CURLINFO |
| typedef int | switch_CURLcode |
| typedef int | switch_CURLoption |
| typedef void | switch_curl_mime |
Functions | |
| switch_CURL * | switch_curl_easy_init (void) |
| switch_CURLcode | switch_curl_easy_perform (switch_CURL *handle) |
| switch_CURLcode | switch_curl_easy_getinfo (switch_CURL *curl, switch_CURLINFO info,...) |
| void | switch_curl_easy_cleanup (switch_CURL *handle) |
| switch_curl_slist_t * | switch_curl_slist_append (switch_curl_slist_t *list, const char *string) |
| void | switch_curl_slist_free_all (switch_curl_slist_t *list) |
| switch_CURLcode | switch_curl_easy_setopt (CURL *handle, switch_CURLoption option,...) |
| const char * | switch_curl_easy_strerror (switch_CURLcode errornum) |
| void | switch_curl_init (void) |
| void | switch_curl_destroy (void) |
| switch_status_t | switch_curl_process_mime (switch_event_t *event, switch_CURL *curl_handle, switch_curl_mime **mimep) |
| void | switch_curl_mime_free (switch_curl_mime **mimep) |
| switch_CURLcode | switch_curl_easy_setopt_mime (switch_CURL *curl_handle, switch_curl_mime *mime) |
Variables | |
| SWITCH_BEGIN_EXTERN_C typedef void | switch_CURL |
| #define HAVE_SWITCH_CURL_MIME |
Definition at line 43 of file switch_curl.h.
| #define switch_curl_easy_setopt curl_easy_setopt |
Definition at line 59 of file switch_curl.h.
| typedef void switch_curl_mime |
Definition at line 44 of file switch_curl.h.
| typedef struct curl_slist switch_curl_slist_t |
Definition at line 38 of file switch_curl.h.
| typedef int switch_CURLcode |
Definition at line 40 of file switch_curl.h.
| typedef int switch_CURLINFO |
Definition at line 39 of file switch_curl.h.
| typedef int switch_CURLoption |
Definition at line 41 of file switch_curl.h.
| void switch_curl_destroy | ( | void | ) |
Definition at line 56 of file switch_curl.c.
Referenced by switch_core_destroy().
| void switch_curl_easy_cleanup | ( | switch_CURL * | handle | ) |
Definition at line 28 of file switch_curl.c.
Referenced by xswitch_http_request().
| switch_CURLcode switch_curl_easy_getinfo | ( | switch_CURL * | curl, |
| switch_CURLINFO | info, | ||
| ... | |||
| ) |
| switch_CURL* switch_curl_easy_init | ( | void | ) |
Definition at line 5 of file switch_curl.c.
Referenced by xswitch_http_request().
| switch_CURLcode switch_curl_easy_perform | ( | switch_CURL * | handle | ) |
Definition at line 10 of file switch_curl.c.
Referenced by xswitch_http_request().
| switch_CURLcode switch_curl_easy_setopt | ( | CURL * | handle, |
| switch_CURLoption | option, | ||
| ... | |||
| ) |
Referenced by xswitch_http_request().
| switch_CURLcode switch_curl_easy_setopt_mime | ( | switch_CURL * | curl_handle, |
| switch_curl_mime * | mime | ||
| ) |
Definition at line 183 of file switch_curl.c.
| const char* switch_curl_easy_strerror | ( | switch_CURLcode | errornum | ) |
Definition at line 46 of file switch_curl.c.
Referenced by switch_curl_process_mime().
| void switch_curl_init | ( | void | ) |
Definition at line 51 of file switch_curl.c.
Referenced by switch_core_init().
| void switch_curl_mime_free | ( | switch_curl_mime ** | mimep | ) |
Definition at line 171 of file switch_curl.c.
| switch_status_t switch_curl_process_mime | ( | switch_event_t * | event, |
| switch_CURL * | curl_handle, | ||
| switch_curl_mime ** | mimep | ||
| ) |
Definition at line 61 of file switch_curl.c.
References switch_event::headers, switch_event_header::name, switch_event_header::next, SWITCH_CHANNEL_LOG, switch_curl_easy_strerror(), SWITCH_LOG_DEBUG, switch_log_printf(), SWITCH_STATUS_FALSE, SWITCH_STATUS_SUCCESS, and switch_event_header::value.
| switch_curl_slist_t* switch_curl_slist_append | ( | switch_curl_slist_t * | list, |
| const char * | string | ||
| ) |
| void switch_curl_slist_free_all | ( | switch_curl_slist_t * | list | ) |
Definition at line 41 of file switch_curl.c.
Referenced by xswitch_http_request().
| SWITCH_BEGIN_EXTERN_C typedef void switch_CURL |
Definition at line 37 of file switch_curl.h.
Referenced by xswitch_http_request().
1.8.13