diff options
Diffstat (limited to 'lib/opencdk/packet.h')
-rw-r--r-- | lib/opencdk/packet.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/lib/opencdk/packet.h b/lib/opencdk/packet.h index a7680134fd..a5629ec44b 100644 --- a/lib/opencdk/packet.h +++ b/lib/opencdk/packet.h @@ -23,25 +23,24 @@ #ifndef CDK_PACKET_H #define CDK_PACKET_H -struct cdk_kbnode_s -{ - struct cdk_kbnode_s *next; - cdk_packet_t pkt; - unsigned int is_deleted:1; - unsigned int is_cloned:1; +struct cdk_kbnode_s { + struct cdk_kbnode_s *next; + cdk_packet_t pkt; + unsigned int is_deleted:1; + unsigned int is_cloned:1; }; /*-- new-packet.c --*/ -void _cdk_free_mpibuf (size_t n, bigint_t * array); -void _cdk_free_userid (cdk_pkt_userid_t uid); -void _cdk_free_signature (cdk_pkt_signature_t sig); -cdk_prefitem_t _cdk_copy_prefs (const cdk_prefitem_t prefs); -cdk_error_t _cdk_copy_userid (cdk_pkt_userid_t * dst, cdk_pkt_userid_t src); -cdk_error_t _cdk_copy_pubkey (cdk_pkt_pubkey_t * dst, cdk_pkt_pubkey_t src); -cdk_error_t _cdk_copy_seckey (cdk_pkt_seckey_t * dst, cdk_pkt_seckey_t src); -cdk_error_t _cdk_copy_pk_to_sk (cdk_pkt_pubkey_t pk, cdk_pkt_seckey_t sk); -cdk_error_t _cdk_copy_signature (cdk_pkt_signature_t * dst, - cdk_pkt_signature_t src); -cdk_error_t _cdk_pubkey_compare (cdk_pkt_pubkey_t a, cdk_pkt_pubkey_t b); +void _cdk_free_mpibuf(size_t n, bigint_t * array); +void _cdk_free_userid(cdk_pkt_userid_t uid); +void _cdk_free_signature(cdk_pkt_signature_t sig); +cdk_prefitem_t _cdk_copy_prefs(const cdk_prefitem_t prefs); +cdk_error_t _cdk_copy_userid(cdk_pkt_userid_t * dst, cdk_pkt_userid_t src); +cdk_error_t _cdk_copy_pubkey(cdk_pkt_pubkey_t * dst, cdk_pkt_pubkey_t src); +cdk_error_t _cdk_copy_seckey(cdk_pkt_seckey_t * dst, cdk_pkt_seckey_t src); +cdk_error_t _cdk_copy_pk_to_sk(cdk_pkt_pubkey_t pk, cdk_pkt_seckey_t sk); +cdk_error_t _cdk_copy_signature(cdk_pkt_signature_t * dst, + cdk_pkt_signature_t src); +cdk_error_t _cdk_pubkey_compare(cdk_pkt_pubkey_t a, cdk_pkt_pubkey_t b); -#endif /* CDK_PACKET_H */ +#endif /* CDK_PACKET_H */ |