diff options
author | Colin Hogben <curl@pythontech.co.uk> | 2012-02-23 09:43:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-02-23 22:32:57 +0100 |
commit | 995424298052fa02ac82a584ee4247939503f24a (patch) | |
tree | befbe3a48f57edbdaf7fe33a5ec69d371a7c49c1 /docs/examples/imap.c | |
parent | 2f1ad7d6e2192e64ca6a5187ecf44a80b0425389 (diff) |
Generate lists and use symbols in --libcurl code output.
This patch improves the output of curl's --libcurl option by
generating code which builds curl_httppost and curl_slist lists, and
uses symbolic names for enum and flag values. Variants of the
my_setopt macro in tool_setopt.h are added in order to pass extra type
information to the code-generation step in tool_setopt.c.
If curl is configured with --disable-libcurl-option then the macros
call curl_easy_setopt directly.
Diffstat (limited to 'docs/examples/imap.c')
0 files changed, 0 insertions, 0 deletions