Hi, guys.

In the Options.hpp I found such lines:

#ifdef CURLOPT_COOKIELIST
    typedef cURLpp::OptionTrait< std::string, CURLOPT_COOKIELIST > 
CookieList;
#else
#ifdef CURLPP_ALLOW_NOT_AVAILABLE
    typedef cURLpp::NotAvailableOptionTrait< std::string > CookieList;
#endif
#endif

But where CURLOPT_COOKIELIST was defined previously? CURLOPT_COOKIELIST 
is not a macro.
It's defined in curl.h as

CINIT(COOKIELIST, OBJECTPOINT, 135)

what will do

typedef enum {
...
CURLOPT_COOKIELIST = CURLOPTTYPE_OBJECTPOINT + 135,
...
}CURLoption;

Than I have one question - how can I set cookie?

-- 
Regards,
Igor Mironchick,
Intervale ©
#ICQ 492-597-570

_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to