#include <plugins.h>
|
CURL *(* | easy_init )(void) |
|
CURLcode(* | easy_setopt )(CURL *curl, CURLoption option,...) |
|
CURLcode(* | easy_perform )(CURL *curl) |
|
void(* | easy_cleanup )(CURL *curl) |
|
const char *(* | easy_strerror )(CURLcode) |
|
CURLcode(* | easy_getinfo )(CURL *curl, CURLINFO info,...) |
|
CURLM *(* | multi_init )(void) |
|
CURLMcode(* | multi_add_handle )(CURLM *multi_handle, CURL *curl_handle) |
|
CURLMcode(* | multi_remove_handle )(CURLM *multi_handle, CURL *curl_handle) |
|
CURLMcode(* | multi_perform )(CURLM *multi_handle, int *running_handles) |
|
CURLMcode(* | multi_cleanup )(CURLM *multi_handle) |
|
CURLMsg *(* | multi_info_read )(CURLM *multi_handle, int *msgs_in_queue) |
|
const char *(* | multi_strerror )(CURLMcode) |
|
CURLFORMcode(* | formadd )(struct curl_httppost **httppost, struct curl_httppost **last_post,...) |
|
void(* | formfree )(struct curl_httppost *form) |
|
struct curl_slist *(* | slist_append )(struct curl_slist *, const char *) |
|
void(* | slist_free_all )(struct curl_slist *) |
|
char *(* | escape )(const char *string, int length) |
|
char *(* | unescape )(const char *string, int length) |
|
void(* | free )(void *p) |
|
This structure contains functions related to the bot's instance of libCURL. Plugins can use this to do any kind of file transfers they need.
I won't document all these functions since they work the same way as libcurl's API so you can just read up there.
- See also
- http://curl.haxx.se/libcurl/c/
CURL*(* API_curl::easy_init)(void) |
CURLcode(* API_curl::easy_setopt)(CURL *curl, CURLoption option,...) |
CURLcode(* API_curl::easy_perform)(CURL *curl) |
void(* API_curl::easy_cleanup)(CURL *curl) |
const char*(* API_curl::easy_strerror)(CURLcode) |
CURLcode(* API_curl::easy_getinfo)(CURL *curl, CURLINFO info,...) |
CURLM*(* API_curl::multi_init)(void) |
CURLMcode(* API_curl::multi_add_handle)(CURLM *multi_handle, CURL *curl_handle) |
CURLMcode(* API_curl::multi_remove_handle)(CURLM *multi_handle, CURL *curl_handle) |
CURLMcode(* API_curl::multi_perform)(CURLM *multi_handle, int *running_handles) |
CURLMcode(* API_curl::multi_cleanup)(CURLM *multi_handle) |
CURLMsg*(* API_curl::multi_info_read)(CURLM *multi_handle, int *msgs_in_queue) |
const char*(* API_curl::multi_strerror)(CURLMcode) |
CURLFORMcode(* API_curl::formadd)(struct curl_httppost **httppost, struct curl_httppost **last_post,...) |
void(* API_curl::formfree)(struct curl_httppost *form) |
struct curl_slist*(* API_curl::slist_append)(struct curl_slist *, const char *) |
void(* API_curl::slist_free_all)(struct curl_slist *) |
char*(* API_curl::escape)(const char *string, int length) |
char*(* API_curl::unescape)(const char *string, int length) |
void(* API_curl::free)(void *p) |
The documentation for this struct was generated from the following file: