31 #ifndef __SWITCH_CURL_H
32 #define __SWITCH_CURL_H
33 #include <curl/curl.h>
54 #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)
switch_status_t switch_curl_process_form_post_params(switch_event_t *event, switch_CURL *curl_handle, struct curl_httppost **formpostp)
void switch_curl_destroy(void)
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)
#define SWITCH_BEGIN_EXTERN_C