curl-library
[PATCH] Improve output of curl's --libcurl option (bis)
From: Colin Hogben <curl_at_pythontech.co.uk>
Date: Thu, 23 Feb 2012 12:41:56 +0000
Date: Thu, 23 Feb 2012 12:41:56 +0000
Hi,
Attached are patches comprising a reworking of my previous efforts at
improving the output of curl's --libcurl option.
In the generated code, symbolic names are used where possible for values
of options which are enumerated types and bitmasks. Code is also
generated to build curl_slist and curl_httppost lists (e.g. for
CURLOPT_HTTPHEADER and form posting, respectively).
Eight new test cases are added, to check the output of the --libcurl option.
Also included is a script which can convert each new test case into a
further test case which exercises the generated code; but this is not
integrated into the test machinery yet.
-- Colin HogbenReceived on 2012-02-23