diff options
author | Werner Koch <[email protected]> | 2007-11-19 16:03:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-11-19 16:03:50 +0000 |
commit | 55ba204bfa848c2e591a29fedc9f103103493a57 (patch) | |
tree | e37263e4d3a25e2aa300faf4c5240191b54ea1a7 /jnlib/stringhelp.h | |
parent | Updated (diff) | |
download | gnupg-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 '')
-rw-r--r-- | jnlib/stringhelp.h | 5 |
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*/ |