aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-11-27 10:58:47 +0000
committerWerner Koch <[email protected]>2019-11-27 10:58:47 +0000
commit61f41cdce5b60b9df05d6531ab1b7aab84ada659 (patch)
tree746f62b9932050dba10681bb38faee097ceaec73 /g10/packet.h
parentdirmngr: Rework of the LDAP code, part 1. (diff)
downloadgnupg-61f41cdce5b60b9df05d6531ab1b7aab84ada659.tar.gz
gnupg-61f41cdce5b60b9df05d6531ab1b7aab84ada659.zip
gpg: Move a keydb function to another file.
* g10/keydb.c (build_keyblock_image): Move to ... * g10/build-packet.c (build_keyblock_image): here. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 5023903d2..db4945237 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -862,6 +862,7 @@ PACKET *create_gpg_control ( ctrlpkttype_t type,
size_t datalen );
/*-- build-packet.c --*/
+gpg_error_t build_keyblock_image (kbnode_t keyblock, iobuf_t *r_iobuf);
int build_packet (iobuf_t out, PACKET *pkt);
gpg_error_t build_packet_and_meta (iobuf_t out, PACKET *pkt);
gpg_error_t gpg_mpi_write (iobuf_t out, gcry_mpi_t a, unsigned int *t_nwritten);