]> granicus.if.org Git - curl/commit
cli tool: do not use mime.h private structures.
authorPatrick Monnerat <patrick@monnerat.net>
Mon, 11 Feb 2019 18:10:41 +0000 (19:10 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Mon, 11 Feb 2019 18:10:41 +0000 (19:10 +0100)
commitcac0e4a6ad14b42471ebc62e82ecdb7dad164702
tree46e38a8e2da72fd2b621982f882dd6b1969a6161
parentb75fb9b5a6ee02beb9e2c6ed43556603f4ef64cf
cli tool: do not use mime.h private structures.

Option -F generates an intermediate representation of the mime structure
that is used later to create the libcurl mime structure and generate
the --libcurl statements.

Reported-by: Daniel Stenberg
Fixes #3532
Closes #3546
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_formparse.c
src/tool_formparse.h
src/tool_setopt.c
src/tool_setopt.h
tests/data/test1404