aboutsummaryrefslogtreecommitdiffstats
path: root/g13/g13tuple.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-02-11 12:57:35 +0000
committerWerner Koch <[email protected]>2016-02-13 16:06:40 +0000
commit13f745b50dc7031755faadb2d3476a6b6aafc739 (patch)
tree6f08695b1afdde483f0d73907228aa32a07b18c0 /g13/g13tuple.h
parentg13: Define 3 new tags. (diff)
downloadgnupg-13f745b50dc7031755faadb2d3476a6b6aafc739.tar.gz
gnupg-13f745b50dc7031755faadb2d3476a6b6aafc739.zip
g13: Improve dump_keyblob.
* g13/g13tuple.c: Include keyblob.h. (find_tuple_uint): Factor code out to ... (convert_uint): new. (all_printable): New. * g13/mount.c (dump_keyblob: Move and rename to ... * g13/g13tuple.c (dump_tupledesc): here. Revamp and pretyy print uint values. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g13/g13tuple.h')
-rw-r--r--g13/g13tuple.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g13/g13tuple.h b/g13/g13tuple.h
index 59cb6372d..948e3475e 100644
--- a/g13/g13tuple.h
+++ b/g13/g13tuple.h
@@ -43,5 +43,7 @@ gpg_error_t find_tuple_uint (tupledesc_t tupledesc, unsigned int tag,
const void *next_tuple (tupledesc_t tupledesc,
unsigned int *r_tag, size_t *r_length);
+void dump_tupledesc (tupledesc_t tuples);
+
#endif /*G13_G13TUPLE_H*/