aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-04-15 14:40:48 +0000
committerWerner Koch <[email protected]>2014-04-17 19:09:10 +0000
commitb8a91ebf46a927801866e99bb5a66ab00651424e (patch)
treeabdf5c424cde14ccb78515e2c2bc793408ba8175 /common/util.h
parentTwo minor code cleanups and one NULL deref on error fix. (diff)
downloadgnupg-b8a91ebf46a927801866e99bb5a66ab00651424e.tar.gz
gnupg-b8a91ebf46a927801866e99bb5a66ab00651424e.zip
common: Add z-base-32 encoder.
* common/zb32.c: New. * common/t-zb32.c: New. * common/Makefile.am (common_sources): Add zb82.c (module_tests): Add t-zb32.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 4b3cbfc4d..4dad163c3 100644
--- a/common/util.h
+++ b/common/util.h
@@ -164,6 +164,8 @@ gpg_error_t b64dec_proc (struct b64state *state, void *buffer, size_t length,
gpg_error_t b64dec_finish (struct b64state *state);
+/*-- zb32.c --*/
+char *zb32_encode (const void *data, unsigned int databits);
/*-- sexputil.c */