cURL / Mailing Lists / curl-library / Single Mail

curl-library

Getting and setting cookie list from structs instead of netscape formated strings

From: Claes Jakobsson <claes_at_versed.se>
Date: Sun, 28 Mar 2010 17:55:33 +0200

Hi,

I (and someone else but I can't find that ticket currently) have a need to get the raw cookie data out of curl without having it translate from and to Netscape formated strings. And also put it back of course.

This gist, http://gist.github.com/346813, is a first patch for it - needs some fixing tho and testing.

Basically we're introducing a new slist type which instead of a char *data field has void *data and a type that we can use for various things, like returning cookie structs

Any objections?

Cheers,
Claes
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-28