20 lines
281 B
C++
20 lines
281 B
C++
#ifndef CPR_CURL_HOLDER_H
|
|
#define CPR_CURL_HOLDER_H
|
|
|
|
#include <memory>
|
|
|
|
#include <curl/curl.h>
|
|
|
|
namespace cpr {
|
|
|
|
struct CurlHolder {
|
|
CURL* handle;
|
|
struct curl_slist* chunk;
|
|
struct curl_httppost* formpost;
|
|
char error[CURL_ERROR_SIZE];
|
|
};
|
|
|
|
} // namespace cpr
|
|
|
|
#endif
|