windows-spawn: Export some more auxiliary functions.
commit2f1b8207e13b4bd1ca916626f25d8ac18bbdff33
authorBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 21:18:21 +0000 (24 22:18 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 21:18:21 +0000 (24 22:18 +0100)
tree82970f58019d412a8c7e36dcbbef498de9aaea30
parentd1ae9c694e5418850c71884ccd22a293d9b3e29b
windows-spawn: Export some more auxiliary functions.

* lib/windows-spawn.h: Include <stdbool.h>.
(struct inheritable_handles): New type.
(init_inheritable_handles, compose_handles_block,
free_inheritable_handles): New declarations.
* lib/windows-spawn.c (init_inheritable_handles, compose_handles_block):
New functions, based on spawnvech.
(free_inheritable_handles): New function.
(spawnpvech): Use them.
ChangeLog
lib/windows-spawn.c
lib/windows-spawn.h