curl-library
Re: getting to variables
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Nov 2007 10:00:07 +0100 (CET)
Date: Wed, 7 Nov 2007 10:00:07 +0100 (CET)
On Wed, 7 Nov 2007, Nishantha Pradeep wrote:
> using above programme,I was able to get the header and I wrote it to a file
> also.But I want to get the header variables in to general c language
> programe in order to use them normally as as in general C programe.Os there
> any help in curl to get header variable in to our variables with out writing
> to a file.
Yes, and Joe already responded with some good hints:
http://curl.haxx.se/mail/lib-2007-11/0060.html
Those, combined with the getinmemory.c example should get you going:
http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-11-07