aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2007-06-18 20:15:01 +0000
committerMarcus Brinkmann <[email protected]>2007-06-18 20:15:01 +0000
commite47321829dde8fb24d63b42d20047db8028ff227 (patch)
treeef177e4395132ffa15688d8f0bf593823b9a97c3 /jnlib/stringhelp.h
parent2007-06-18 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-e47321829dde8fb24d63b42d20047db8028ff227.tar.gz
gnupg-e47321829dde8fb24d63b42d20047db8028ff227.zip
jnlib/
2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
Diffstat (limited to 'jnlib/stringhelp.h')
-rw-r--r--jnlib/stringhelp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/jnlib/stringhelp.h b/jnlib/stringhelp.h
index 869b0f00e..fdd887bf2 100644
--- a/jnlib/stringhelp.h
+++ b/jnlib/stringhelp.h
@@ -1,6 +1,6 @@
/* stringhelp.h
* Copyright (C) 1998, 1999, 2000, 2001, 2003,
- * 2006 Free Software Foundation, Inc.
+ * 2006, 2007 Free Software Foundation, Inc.
*
* This file is part of JNLIB.
*
@@ -117,5 +117,8 @@ isascii (int c)
#endif
#define STR2(v) STR(v)
+/* Percent-escape the string STR by replacing colons with '%3a'. */
+char *percent_escape (const char *str);
+
#endif /*LIBJNLIB_STRINGHELP_H*/