Main Page
Data Structures
Files
File List
Globals
http_client_libcurl.h
Go to the documentation of this file.
1
12
#ifndef HTTP_CLIENT_LIBCURL_H_
13
#define HTTP_CLIENT_LIBCURL_H_
14
15
#include "
mcl_core/mcl_http_client.h
"
16
17
// If you want to use libcurl as static library, define CURL_STATICLIB before including curl.h otherwise linker won't be able to find __impl_* functions
18
19
#include "curl/curl.h"
20
21
#define SSL_CERTIFICATE_TYPE_PEM "PEM"
22
23
struct
mcl_http_client_t
24
{
25
CURL *
curl
;
26
mcl_list_t
*
certificates
;
27
};
28
29
#endif //HTTP_CLIENT_LIBCURL_H_
mcl_http_client.h
HTTP client interface header file.
mcl_http_client_t
Definition:
http_client_basic.h:15
mcl_list_t
Definition:
mcl_list.h:35
mcl_http_client_t::curl
CURL * curl
Curl handle.
Definition:
http_client_libcurl.h:25
mcl_http_client_t::certificates
mcl_list_t * certificates
List of server certificates.
Definition:
http_client_libcurl.h:26
mcl_core
src
http_client
curl
http_client_libcurl.h
Generated by
1.8.11