summaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-04-01 12:51:53 +0200
committerWerner Koch <wk@gnupg.org>2009-04-01 12:51:53 +0200
commitf8b4cd76501824d56d3cf78a8ba85291a62f0e6d (patch)
treecec902ba7d3dd1a38846805cf491a65b95bb79cd /common/util.h
parentImplement decryption for TCOS 3 cards. (diff)
downloadgnupg2-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.h5
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 --*/