diff options
author | Werner Koch <wk@gnupg.org> | 2016-09-29 17:38:06 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-09-29 17:56:37 +0200 |
commit | f776757ea94542e2f425840dddaf3e65b0ff7757 (patch) | |
tree | 91fd42217fe4405291ceeae7f8c8db172437d5a6 /tools/mime-maker.h | |
parent | tools: Change mime-maker to write out CR,LF. (diff) | |
download | gnupg2-f776757ea94542e2f425840dddaf3e65b0ff7757.tar.xz gnupg2-f776757ea94542e2f425840dddaf3e65b0ff7757.zip |
tools: Allow retrieval of signed data from mime-maker.
* tools/mime-maker.c (find_part): New.
(mime_maker_get_part): New.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/mime-maker.h')
-rw-r--r-- | tools/mime-maker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mime-maker.h b/tools/mime-maker.h index 2fac9c36c..23047c327 100644 --- a/tools/mime-maker.h +++ b/tools/mime-maker.h @@ -39,6 +39,8 @@ gpg_error_t mime_maker_end_container (mime_maker_t ctx); unsigned int mime_maker_get_partid (mime_maker_t ctx); gpg_error_t mime_maker_make (mime_maker_t ctx, estream_t fp); +gpg_error_t mime_maker_get_part (mime_maker_t ctx, unsigned int partid, + estream_t *r_stream); |