X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Feventclient%2Fserv_curl.h;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=0ba7769c0b3602d670ad87d4b9b7d971fb84d873;hp=7b65d8eb4d0ae1bc4b7c8976516549477c7bfa37;hpb=703430ba607a8681b9b9856d782c814b9a297a17;p=citadel.git diff --git a/citadel/modules/eventclient/serv_curl.h b/citadel/modules/eventclient/serv_curl.h index 7b65d8eb4..e69de29bb 100644 --- a/citadel/modules/eventclient/serv_curl.h +++ b/citadel/modules/eventclient/serv_curl.h @@ -1,34 +0,0 @@ -#include - - -typedef struct _evcurl_request_data -{ - CURL *chnd; - char errdesc[CURL_ERROR_SIZE]; - int attached; - char* PlainPostData; - long PlainPostDataLen; - StrBuf *PostData; - StrBuf *ReplyData; - ParsedURL *URL; - struct curl_slist * headers; -} evcurl_request_data; - - - - - -#define OPT(s, v) \ - do { \ - sta = curl_easy_setopt(chnd, (CURLOPT_##s), (v)); \ - if (sta) { \ - CtdlLogPrintf(CTDL_ERR, "error setting option " #s " on curl handle: %s", curl_easy_strerror(sta)); \ - } } while (0) - - -int evcurl_init(evcurl_request_data *handle, - void *CustomData, - const char* Desc, - int CallBack); - -void evcurl_handle_start(evcurl_request_data *handle);