aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-04-15 14:40:48 +0000
committerWerner Koch <[email protected]>2014-04-22 13:58:33 +0000
commit71a54313adf7b57b7b27bb9ad07b142a34306260 (patch)
tree5c37da59f48b7c740f0ade7e85c0f22ac089d5a0 /common/stringhelp.h
parentcommon: Add function gnupg_getcwd. (diff)
downloadgnupg-71a54313adf7b57b7b27bb9ad07b142a34306260.tar.gz
gnupg-71a54313adf7b57b7b27bb9ad07b142a34306260.zip
common: Add functions make_absfilename and make_absfilename_try.
* common/stringhelp.c (do_make_filename): Add modes 2 and 3. (make_absfilename): New. (make_absfilename_try): New.
Diffstat (limited to 'common/stringhelp.h')
-rw-r--r--common/stringhelp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h
index 21bb20d5a..1ad380e79 100644
--- a/common/stringhelp.h
+++ b/common/stringhelp.h
@@ -53,6 +53,9 @@ char *make_basename(const char *filepath, const char *inputpath);
char *make_dirname(const char *filepath);
char *make_filename( const char *first_part, ... ) GNUPG_GCC_A_SENTINEL(0);
char *make_filename_try (const char *first_part, ... ) GNUPG_GCC_A_SENTINEL(0);
+char *make_absfilename (const char *first_part, ...) GNUPG_GCC_A_SENTINEL(0);
+char *make_absfilename_try (const char *first_part,
+ ...) GNUPG_GCC_A_SENTINEL(0);
int compare_filenames( const char *a, const char *b );
int hextobyte (const char *s);