wks: New callback for the mime parser.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 19:01:30 +0000 (20:01 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 19:01:30 +0000 (20:01 +0100)
commita2090250829fe8989be2afc8cf41ba2a022072fc
tree003e077b1e8243eaa15087d9bb2df96b860b7c02
parenteffa80e0b5fd8cf9e31a984afe391c2406edee8b
wks: New callback for the mime parser.

* tools/mime-parser.c (mime_parser_context_s): New field 't2body'.
(parse_message_cb): Call that callback.
(mime_parser_set_t2body): New.
--

This callback allows to process header values even on the outer level.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/mime-parser.c
tools/mime-parser.h