aboutsummaryrefslogtreecommitdiffstats
path: root/src/visibility.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-06-06 07:30:26 +0000
committerNIIBE Yutaka <[email protected]>2024-06-06 07:30:26 +0000
commite644311383350ce704611cce69f322a7d9dd548e (patch)
treed3d2fdd51380b3ba5acf518ce57032b3cbe6c4fa /src/visibility.h
parentspawn: Add new GPGRT_PROCESS_NO_CONSOLE for Windows. (diff)
downloadlibgpg-error-e644311383350ce704611cce69f322a7d9dd548e.tar.gz
libgpg-error-e644311383350ce704611cce69f322a7d9dd548e.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/visibility.h12
1 files changed, 8 insertions, 4 deletions
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