1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-07 17:33:02 +01:00
Werner Koch 83811e3f1f
common: Change calling convention for gnupg_spawn_process.
* common/exechelp.h (GNUPG_SPAWN_NONBLOCK): New.
(GNUPG_SPAWN_RUN_ASFW, GNUPG_SPAWN_DETACHED): Macro to replace the
numbers.
* common/exechelp.h (gnupg_spawn_process): Change function to not take
an optional stream for stdin but to return one.
* common/exechelp-posix.c (gnupg_spawn_process): Implement change.
(create_pipe_and_estream): Add args outbound and nonblock.
* common/exechelp-w32.c (gnupg_spawn_process): Implement change.
--

In 2.1 this function is only used at one place and the stdin parameter
is not used.  Thus this change is trivial for the callers but along
with estream's new es_poll it is overall simpler to use.

Note that the Windows version has not been tested.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-09-28 18:40:38 +02:00
..
2013-11-18 14:09:47 +01:00
2007-07-04 19:49:40 +00:00
2015-03-17 09:18:23 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2015-09-02 10:38:41 +02:00
2014-11-11 15:14:31 +01:00
2014-05-02 11:19:25 +02:00
2015-08-06 17:00:41 +09:00
2015-02-03 09:12:45 +01:00
2011-02-04 12:57:53 +01:00
2014-04-17 21:09:10 +02:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx