aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-02-26 15:18:45 +0000
committerWerner Koch <[email protected]>2014-02-26 15:18:45 +0000
commitc72762f9acf3eef5c466ba76e895d7654df12ff7 (patch)
treebcb93136c589e406f69ae0d219402c5300d05654 /common/stringhelp.h
parentcommon: New function get_membuf_shrink. (diff)
downloadgnupg-c72762f9acf3eef5c466ba76e895d7654df12ff7.tar.gz
gnupg-c72762f9acf3eef5c466ba76e895d7654df12ff7.zip
common: New function map_static_macro_string.
* common/mapstrings.c: New. * common/t-mapstrings.c: New. * common/t-support.h (DIM, DIMof): Define if not defined. * common/Makefile.am: Add new files.
Diffstat (limited to 'common/stringhelp.h')
-rw-r--r--common/stringhelp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h
index c1f7ea12d..21bb20d5a 100644
--- a/common/stringhelp.h
+++ b/common/stringhelp.h
@@ -34,6 +34,7 @@
#include "types.h"
+/*-- stringhelp.c --*/
char *has_leading_keyword (const char *string, const char *keyword);
const char *memistr (const void *buf, size_t buflen, const char *sub);
@@ -145,5 +146,8 @@ char *strconcat (const char *s1, ...) GNUPG_GCC_A_SENTINEL(0);
char *xstrconcat (const char *s1, ...) GNUPG_GCC_A_SENTINEL(0);
+/*-- mapstrings.c --*/
+const char *map_static_macro_string (const char *string);
+
#endif /*LIBJNLIB_STRINGHELP_H*/