cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] HeaderData Option
From: Horst Schibulski <joza420_at_yahoo.com>
Date: Tue, 12 Sep 2006 07:29:05 -0700 (PDT)
I'm currently migrating my software from gcc 3.3.3, libcurl 7.11.0 and curlpp 0.5.0-rc6 to gcc 4.1.1, libcurl 7.15.5 and curlpp 0-7-0-pre2.
Since I have to parse the header lines received by a HTTP_REQUEST in my program, I used the "HeaderFunction" Option to set the function pointer and the "HeaderData" option to pass the data structure my callback function uses to store the header lines.
According to the libcurl documentation the name of the "HeaderData" option changed to "WriteHeader" and I have to use FILE* instead of void* for my data structure now, but I can't find this option at all in the new curlpp release. (Formerly it was declared in the Options.hpp).
Am I missing something, or do I have to use a different mechanism to get the header lines?
Thanks in advance,
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info