diff options
author | Werner Koch <wk@gnupg.org> | 2009-04-01 12:51:53 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-04-01 12:51:53 +0200 |
commit | f8b4cd76501824d56d3cf78a8ba85291a62f0e6d (patch) | |
tree | cec902ba7d3dd1a38846805cf491a65b95bb79cd /common/util.h | |
parent | Implement decryption for TCOS 3 cards. (diff) | |
download | gnupg2-f8b4cd76501824d56d3cf78a8ba85291a62f0e6d.tar.xz gnupg2-f8b4cd76501824d56d3cf78a8ba85291a62f0e6d.zip |
Import/export of pkcs#12 now uses the gpg-agent directly.
Removed duplicated code (percent unescaping).
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 3c664cec7..c64db9f6b 100644 --- a/common/util.h +++ b/common/util.h @@ -204,6 +204,11 @@ char *hex2str_alloc (const char *hexstring, size_t *r_count); /*-- percent.c --*/ char *percent_plus_escape (const char *string); +char *percent_plus_unescape (const char *string, int nulrepl); +char *percent_unescape (const char *string, int nulrepl); + +size_t percent_plus_unescape_inplace (char *string, int nulrepl); +size_t percent_unescape_inplace (char *string, int nulrepl); /*-- homedir.c --*/ |