aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-04-26 15:53:01 +0000
committerWerner Koch <[email protected]>1999-04-26 15:53:01 +0000
commitbbf86c6e592b62cd6ae0e74ac37822b69242a4aa (patch)
treec82d4dfef3fcdb2a769d978acd304e111d5b8d83 /g10/packet.h
parentSee ChangeLog: Sun Apr 18 20:48:15 CEST 1999 Werner Koch (diff)
downloadgnupg-bbf86c6e592b62cd6ae0e74ac37822b69242a4aa.tar.gz
gnupg-bbf86c6e592b62cd6ae0e74ac37822b69242a4aa.zip
See ChangeLog: Mon Apr 26 17:48:15 CEST 1999 Werner Koch
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 36115be5b..312668317 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -233,9 +233,10 @@ typedef enum {
/*-- mainproc.c --*/
-int proc_packets( IOBUF a );
-int proc_signature_packets( IOBUF a, STRLIST signedfiles, const char *sigfile );
-int proc_encryption_packets( IOBUF a );
+int proc_packets( void *ctx, IOBUF a );
+int proc_signature_packets( void *ctx, IOBUF a,
+ STRLIST signedfiles, const char *sigfile );
+int proc_encryption_packets( void *ctx, IOBUF a );
int list_packets( IOBUF a );
/*-- parse-packet.c --*/
@@ -301,6 +302,7 @@ int cmp_user_ids( PKT_user_id *a, PKT_user_id *b );
/*-- sig-check.c --*/
int signature_check( PKT_signature *sig, MD_HANDLE digest );
+int mdc_kludge_check( PKT_signature *sig, MD_HANDLE digest );
/*-- seckey-cert.c --*/
int is_secret_key_protected( PKT_secret_key *sk );
@@ -311,11 +313,11 @@ int protect_secret_key( PKT_secret_key *sk, DEK *dek );
int get_session_key( PKT_pubkey_enc *k, DEK *dek );
/*-- compress.c --*/
-int handle_compressed( PKT_compressed *cd,
+int handle_compressed( void *ctx, PKT_compressed *cd,
int (*callback)(IOBUF, void *), void *passthru );
/*-- encr-data.c --*/
-int decrypt_data( PKT_encrypted *ed, DEK *dek );
+int decrypt_data( void *ctx, PKT_encrypted *ed, DEK *dek );
int encrypt_data( PKT_encrypted *ed, DEK *dek );
/*-- plaintext.c --*/