diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-02-15 17:25:36 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-02-15 17:25:36 +0300 |
commit | dfa9c2235b0271a5e3bebe40e805f34ebc932c73 (patch) | |
tree | 90fa091e4488d22a8a2e7ef6de79bbe4d1125533 /include/zbxhttp.h | |
parent | 2132b8842d1cc4a2cb25bbb48a9c4496efb23907 (diff) |
.......PS. [ZBXNEXT-4358] style fix
Diffstat (limited to 'include/zbxhttp.h')
-rw-r--r-- | include/zbxhttp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/zbxhttp.h b/include/zbxhttp.h index 1998a57c567..cda674f2d47 100644 --- a/include/zbxhttp.h +++ b/include/zbxhttp.h @@ -27,12 +27,12 @@ void zbx_http_url_encode(const char *source, char **result); int zbx_http_url_decode(const char *source, char **result); #ifdef HAVE_LIBCURL -int zbx_prepare_https(CURL *easyhandle, const char *ssl_cert_file, const char *ssl_key_file, +int zbx_http_prepare_ssl(CURL *easyhandle, const char *ssl_cert_file, const char *ssl_key_file, const char *ssl_key_password, unsigned char verify_peer, unsigned char verify_host, char **error); -int zbx_prepare_httpauth(CURL *easyhandle, unsigned char authtype, const char *username, const char *password, +int zbx_http_prepare_auth(CURL *easyhandle, unsigned char authtype, const char *username, const char *password, char **error); -char *zbx_get_httpheader(char **headers); -void zbx_add_httpheaders(char *headers, struct curl_slist **headers_slist); +char *zbx_http_get_header(char **headers); +void zbx_http_add_headers(char *headers, struct curl_slist **headers_slist); #endif #endif |