common,w32: Extend gnupg_create_inbound_pipe et al.
authorJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 11:55:12 +0000 (13:55 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 16:54:49 +0000 (18:54 +0200)
commitf2d39a6d051413289c717b9cd2dc387a270b8e7c
treea77ee62a58e54cdf86aba40891fec9a957674ebb
parent727ca74bb942464217e678012cccbfc347ae08a5
common,w32: Extend gnupg_create_inbound_pipe et al.

* common/exechelp-w32.c (do_create_pipe): Rename, add arguments, and
create a stream if reqested.
(gnupg_create_inbound_pipe): Use the extended function to open the
stream if requested.
(gnupg_create_outbound_pipe): Likewise.
(gnupg_create_pipe): Update call site.

Fixes-commit: 5d991e333a1885adc40abd9d00c01fec4bd5d9d7
Signed-off-by: Justus Winter <justus@g10code.com>
common/exechelp-w32.c