#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;
    char error[CURL_ERROR_SIZE];
};

} // namespace cpr

#endif

#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

Add formpost pointer in curl handle
Add formpost pointer in curl handle
