aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-11-19 16:03:50 +0000
committerWerner Koch <[email protected]>2007-11-19 16:03:50 +0000
commit55ba204bfa848c2e591a29fedc9f103103493a57 (patch)
treee37263e4d3a25e2aa300faf4c5240191b54ea1a7 /jnlib/stringhelp.h
parentUpdated (diff)
downloadgnupg-55ba204bfa848c2e591a29fedc9f103103493a57.tar.gz
gnupg-55ba204bfa848c2e591a29fedc9f103103493a57.zip
Started to implement the audit log feature.
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
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 6dee2e417..cb7051933 100644
--- a/jnlib/stringhelp.h
+++ b/jnlib/stringhelp.h
@@ -116,8 +116,11 @@ isascii (int c)
#define STR2(v) STR(v)
/* Percent-escape the string STR by replacing colons with '%3a'. If
- EXTRA is not NULL, also replace all characters given in EXTRA. */
+ EXTRA is not NULL, also replace all characters given in EXTRA. The
+ "try_" variant fails with NULL if not enough memory can be
+ allocated. */
char *percent_escape (const char *str, const char *extra);
+char *try_percent_escape (const char *str, const char *extra);
#endif /*LIBJNLIB_STRINGHELP_H*/