Main Page
Data Structures
Files
File List
Globals
http_client_libcurl.h
Go to the documentation of this file.
1
/*!**********************************************************************
2
*
3
* @copyright Copyright (C) 2016 Siemens Aktiengesellschaft.\n
4
* All rights reserved.
5
*
6
*************************************************************************
7
*
8
* @file http_client_libcurl.h
9
* @date Jul 29, 2016
10
* @brief HTTP client libcurl module header file.
11
*
12
* Implements the functions defined in http_client.h file. This implementation actively uses "libcurl" for HTTP Send/Receive operations.
13
* For targets in which libcurl cannot be used, another implementation file should be created to implement the http_client.h functions.
14
*
15
************************************************************************/
16
17
#ifndef HTTP_CLIENT_LIBCURL_H_
18
#define HTTP_CLIENT_LIBCURL_H_
19
20
#include "
http_client.h
"
21
22
// define CURL_STATICLIB before including curl.h otherwise linker wont be able to find __impl_* functions
23
24
#if MCL_STATICLIB
25
#define CURL_STATICLIB 1
26
#endif
27
#include "curl/curl.h"
28
29
struct
http_client_t
30
{
31
CURL *
curl
;
32
};
33
34
#endif //HTTP_CLIENT_LIBCURL_H_
http_client_t::curl
CURL * curl
Curl handle.
Definition:
http_client_libcurl.h:31
http_client_t
HTTP Client Handler definition. Members are implementation specific and are declared in implementatio...
Definition:
http_client_libcurl.h:29
http_client.h
HTTP client module header file.
src
http_client_libcurl.h
Generated by
1.8.11