aboutsummaryrefslogtreecommitdiffstats
path: root/src/visibility.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/visibility.c')
-rw-r--r--src/visibility.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/visibility.c b/src/visibility.c
index d754032..5f88aad 100644
--- a/src/visibility.c
+++ b/src/visibility.c
@@ -1180,6 +1180,33 @@ gpgrt_cmp_version (const char *a, const char *b, int level)
+/* String utilities. */
+char *
+gpgrt_fnameconcat (const char *first, ... )
+{
+ va_list arg_ptr;
+ char *result;
+
+ va_start (arg_ptr, first);
+ result = _gpgrt_vfnameconcat (0, first, arg_ptr);
+ va_end (arg_ptr);
+ return result;
+}
+
+char *
+gpgrt_absfnameconcat (const char *first, ... )
+{
+ va_list arg_ptr;
+ char *result;
+
+ va_start (arg_ptr, first);
+ result = _gpgrt_vfnameconcat (1, first, arg_ptr);
+ va_end (arg_ptr);
+ return result;
+}
+
+
+
/* For consistency reasons we use function wrappers also for Windows
* specific function despite that they are technically not needed. */
#ifdef HAVE_W32_SYSTEM