FreeSWITCH API Documentation
1.7.0
|
#include <curl/curl.h>
Go to the source code of this file.
Macros | |
#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 |
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_form_post_params (switch_event_t *event, switch_CURL *curl_handle, struct curl_httppost **formpostp) |
Variables | |
SWITCH_BEGIN_EXTERN_C typedef void | switch_CURL |
#define switch_curl_easy_setopt curl_easy_setopt |
Definition at line 54 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.
void switch_curl_easy_cleanup | ( | switch_CURL * | handle | ) |
Definition at line 28 of file switch_curl.c.
switch_CURLcode switch_curl_easy_getinfo | ( | switch_CURL * | curl, |
switch_CURLINFO | info, | ||
... | |||
) |
Definition at line 16 of file switch_curl.c.
switch_CURL* switch_curl_easy_init | ( | void | ) |
Definition at line 5 of file switch_curl.c.
switch_CURLcode switch_curl_easy_perform | ( | switch_CURL * | handle | ) |
Definition at line 10 of file switch_curl.c.
switch_CURLcode switch_curl_easy_setopt | ( | CURL * | handle, |
switch_CURLoption | option, | ||
... | |||
) |
const char* switch_curl_easy_strerror | ( | switch_CURLcode | errornum | ) |
Definition at line 46 of file switch_curl.c.
void switch_curl_init | ( | void | ) |
Definition at line 51 of file switch_curl.c.
Referenced by switch_core_init().
switch_status_t switch_curl_process_form_post_params | ( | switch_event_t * | event, |
switch_CURL * | curl_handle, | ||
struct curl_httppost ** | formpostp | ||
) |
Definition at line 61 of file switch_curl.c.
References switch_event_header::name, switch_event_header::next, 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 | ||
) |
Definition at line 35 of file switch_curl.c.
void switch_curl_slist_free_all | ( | switch_curl_slist_t * | list | ) |
Definition at line 41 of file switch_curl.c.
SWITCH_BEGIN_EXTERN_C typedef void switch_CURL |
Definition at line 37 of file switch_curl.h.