From 2caaef8f6b89d7fcbbe3d480d192fe1952576942 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 5 Jun 2024 15:07:01 +0900 Subject: 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 --- src/mkheader.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mkheader.c') 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")) -- cgit v1.2.3