31 #ifndef __SWITCH_CURL_H 32 #define __SWITCH_CURL_H 33 #include <curl/curl.h> 43 #define HAVE_SWITCH_CURL_MIME 59 #define switch_curl_easy_setopt curl_easy_setopt #define SWITCH_END_EXTERN_C
switch_CURLcode switch_curl_easy_getinfo(switch_CURL *curl, switch_CURLINFO info,...)
Representation of an event.
switch_CURL * switch_curl_easy_init(void)
switch_CURLcode switch_curl_easy_perform(switch_CURL *handle)
void switch_curl_destroy(void)
void switch_curl_mime_free(switch_curl_mime **mimep)
void switch_curl_easy_cleanup(switch_CURL *handle)
switch_curl_slist_t * switch_curl_slist_append(switch_curl_slist_t *list, const char *string)
SWITCH_BEGIN_EXTERN_C typedef void switch_CURL
struct curl_slist switch_curl_slist_t
switch_status_t
Common return values.
const char * switch_curl_easy_strerror(switch_CURLcode errornum)
#define switch_curl_easy_setopt
void switch_curl_init(void)
void switch_curl_slist_free_all(switch_curl_slist_t *list)
switch_CURLcode switch_curl_easy_setopt_mime(switch_CURL *curl_handle, switch_curl_mime *mime)
switch_status_t switch_curl_process_mime(switch_event_t *event, switch_CURL *curl_handle, switch_curl_mime **mimep)
#define SWITCH_BEGIN_EXTERN_C