From 71a54313adf7b57b7b27bb9ad07b142a34306260 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 15 Apr 2014 16:40:48 +0200 Subject: 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. --- common/stringhelp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/stringhelp.h') 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); -- cgit v1.2.3