cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] [CURLOPT_COOKIELIST]

From: Igor Mironchick <imironchick_at_gmail.com>
Date: Fri, 19 Oct 2007 01:54:19 +0400

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
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2007-10-18

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET