From e644311383350ce704611cce69f322a7d9dd548e Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 6 Jun 2024 16:30:26 +0900 Subject: spawn: Expose gpgrt_spawn_actions functions. * src/gpg-error.def.in: Update. * src/gpg-error.h.in: Add declarations. * src/gpg-error.vers: Update. * src/visibility.c: Update. * src/visibility.h: Update. -- Signed-off-by: NIIBE Yutaka --- src/visibility.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/visibility.h') diff --git a/src/visibility.h b/src/visibility.h index 5572c47..29ebaee 100644 --- a/src/visibility.h +++ b/src/visibility.h @@ -229,6 +229,8 @@ MARK_VISIBLE (gpgrt_cmp_version) MARK_VISIBLE (gpgrt_fnameconcat) MARK_VISIBLE (gpgrt_absfnameconcat) +MARK_VISIBLE (gpgrt_spawn_actions_new) +MARK_VISIBLE (gpgrt_spawn_actions_release) #ifdef HAVE_W32_SYSTEM MARK_VISIBLE (gpgrt_spawn_actions_set_envvars) MARK_VISIBLE (gpgrt_spawn_actions_set_redirect) @@ -419,15 +421,17 @@ MARK_VISIBLE (gpgrt_spawn_actions_set_atfork) #define gpgrt_process_wait _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_process_release _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_new _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_release _gpgrt_USE_UNDERSCORED_FUNCTION #ifdef HAVE_W32_SYSTEM #define gpgrt_spawn_actions_set_envvars _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_spawn_actions_set_redirect _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_spawn_actions_set_inherit_handles _gpgrt_USE_UNDERSCORED_FUNCTION #else -#define gpgrt_spawn_actions_set_environ _gpgrt_USE_UNDERSCORED_FUNCTION -#define gpgrt_spawn_actions_set_redirect _gpgrt_USE_UNDERSCORED_FUNCTION -#define gpgrt_spawn_actions_set_inherit_fds _gpgrt_USE_UNDERSCORED_FUNCTION -#define gpgrt_spawn_actions_set_atfork _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_set_environ _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_set_redirect _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_set_inherit_fds _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_spawn_actions_set_atfork _gpgrt_USE_UNDERSCORED_FUNCTION #endif #define gpgrt_argparse _gpgrt_USE_UNDERSCORED_FUNCTION -- cgit v1.2.3