diff options
| author | Werner Koch <[email protected]> | 1998-01-02 20:40:10 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-01-02 20:40:10 +0000 |
| commit | b7bdef0834f9d04f96f69a5323e0ac3e5e1b7bc2 (patch) | |
| tree | cb6bae66627f4ea4d0a6b29631223ed2fe78ee8e /g10/main.h | |
| parent | Sylvester Version (diff) | |
| download | gnupg-b7bdef0834f9d04f96f69a5323e0ac3e5e1b7bc2.tar.gz gnupg-b7bdef0834f9d04f96f69a5323e0ac3e5e1b7bc2.zip | |
added more stuff
Diffstat (limited to 'g10/main.h')
| -rw-r--r-- | g10/main.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index 0d00dd19a..15caaab9a 100644 --- a/g10/main.h +++ b/g10/main.h @@ -28,15 +28,27 @@ #define DEFAULT_PUBKEY_ALGO PUBKEY_ALGO_ELGAMAL #define DEFAULT_DIGEST_ALGO DIGEST_ALGO_RMD160 + +typedef struct { + int header_okay; + PKC_LIST pkc_list; + cipher_filter_context_t cfx; +} encrypt_filter_context_t; + + /*-- encode.c --*/ int encode_symmetric( const char *filename ); int encode_store( const char *filename ); int encode_crypt( const char *filename, STRLIST remusr ); +int encrypt_filter( void *opaque, int control, + IOBUF a, byte *buf, size_t *ret_len); + /*-- sign.c --*/ int sign_file( const char *filename, int detached, STRLIST locusr, int encrypt, STRLIST remusr ); int sign_key( const char *username, STRLIST locusr ); +int edit_keysigs( const char *username ); /*-- sig-check.c --*/ int check_key_signature( KBNODE root, KBNODE node ); |
