diff options
author | Justus Winter <[email protected]> | 2015-11-30 13:23:02 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2015-12-04 11:52:26 +0000 |
commit | a81aca6e1c2a4529d416d1989f15d7338d2ee81e (patch) | |
tree | b22e9abf6947b4a2f490ad526de89f6810d5498c /tools/gpgtar.c | |
parent | common: Add header file and build the new code. (diff) | |
download | gnupg-a81aca6e1c2a4529d416d1989f15d7338d2ee81e.tar.gz gnupg-a81aca6e1c2a4529d416d1989f15d7338d2ee81e.zip |
common: Add a stream interface to 'sh-exectool'.
* common/sh-exectool.c (struct copy_buffer): Add infrastructure for
copying between streams.
(copy_buffer_{init,shred,do_copy,flush}): New functions.
(sh_exec_tool_stream): Rework 'sh_exec_tool' to operate on streams.
(nop_free): New function.
(sh_exec_tool): Express this in terms of 'sh_exec_tool_stream'.
* common/sh-exectool.h (sh_exec_tool_stream): New prototype.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions