aboutsummaryrefslogtreecommitdiffstats
path: root/src/mkheader.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-06-05 06:07:01 +0000
committerNIIBE Yutaka <[email protected]>2024-06-05 06:16:26 +0000
commit2caaef8f6b89d7fcbbe3d480d192fe1952576942 (patch)
treefddcb729218d31738937481882b8f7cc8736f3e5 /src/mkheader.c
parentspawn:w32: Fix setting of dwFlags for CreateProcess. (diff)
downloadlibgpg-error-2caaef8f6b89d7fcbbe3d480d192fe1952576942.tar.gz
libgpg-error-2caaef8f6b89d7fcbbe3d480d192fe1952576942.zip
spawn: Expose spawn functions API.
* src/gpg-error.def.in: Update. * src/gpg-error.vers: Update. * src/gpg-error.h.in: Add declarations. * src/visibility.c: Add implementations. * src/visibility.h: Expose them. -- GnuPG-bug-id: 6249 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/mkheader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mkheader.c b/src/mkheader.c
index 5005bbc..d9b8331 100644
--- a/src/mkheader.c
+++ b/src/mkheader.c
@@ -577,13 +577,16 @@ write_special (const char *fname, int lnr, const char *tag)
{
if (have_w32_system || have_w64_system)
{
+ fputs ("void gpgrt_spawn_actions_set_envvars (gpgrt_spawn_actions_t, char *);\n", stdout);
fputs ("void gpgrt_spawn_actions_set_redirect (gpgrt_spawn_actions_t, void *, void *, void *);\n", stdout);
fputs ("void gpgrt_spawn_actions_set_inherit_handles (gpgrt_spawn_actions_t, void **);\n", stdout);
}
else
{
+ fputs ("void gpgrt_spawn_actions_set_environ (gpgrt_spawn_actions_t, char **);\n", stdout);
fputs ("void gpgrt_spawn_actions_set_redirect (gpgrt_spawn_actions_t, int, int, int);\n", stdout);
fputs ("void gpgrt_spawn_actions_set_inherit_fds (gpgrt_spawn_actions_t, const int *);\n", stdout);
+ fputs ("void gpgrt_spawn_actions_set_atfork (gpgrt_spawn_actions_t, void (*)(void *), void *);", stdout);
}
}
else if (!strcmp (tag, "include:err-sources"))