diff options
author | Werner Koch <wk@gnupg.org> | 2006-04-19 15:24:36 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-04-19 15:24:36 +0200 |
commit | d0907e64f473b743ec7a6888583e19502b804ca2 (patch) | |
tree | 455edb5bd2b75ce96b967fc398160f3adb989a66 /g10/filter.h | |
parent | Merged with gpg 1.4.3 code. (diff) | |
download | gnupg2-d0907e64f473b743ec7a6888583e19502b804ca2.tar.xz gnupg2-d0907e64f473b743ec7a6888583e19502b804ca2.zip |
Continued with merging.
Still does not build.
Diffstat (limited to 'g10/filter.h')
-rw-r--r-- | g10/filter.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/g10/filter.h b/g10/filter.h index 3b4e73963..5c1b9372a 100644 --- a/g10/filter.h +++ b/g10/filter.h @@ -126,36 +126,36 @@ typedef struct { /* encrypt_filter_context_t defined in main.h */ /*-- mdfilter.c --*/ -int md_filter( void *opaque, int control, IOBUF a, byte *buf, size_t *ret_len); +int md_filter( void *opaque, int control, iobuf_t a, byte *buf, size_t *ret_len); void free_md_filter_context( md_filter_context_t *mfx ); /*-- armor.c --*/ -int use_armor_filter( IOBUF a ); +int use_armor_filter( iobuf_t a ); int armor_filter( void *opaque, int control, - IOBUF chain, byte *buf, size_t *ret_len); + iobuf_t chain, byte *buf, size_t *ret_len); UnarmorPump unarmor_pump_new (void); void unarmor_pump_release (UnarmorPump x); int unarmor_pump (UnarmorPump x, int c); /*-- compress.c --*/ -void push_compress_filter(IOBUF out,compress_filter_context_t *zfx,int algo); -void push_compress_filter2(IOBUF out,compress_filter_context_t *zfx, +void push_compress_filter(iobuf_t out,compress_filter_context_t *zfx,int algo); +void push_compress_filter2(iobuf_t out,compress_filter_context_t *zfx, int algo,int rel); /*-- cipher.c --*/ int cipher_filter( void *opaque, int control, - IOBUF chain, byte *buf, size_t *ret_len); + iobuf_t chain, byte *buf, size_t *ret_len); /*-- textfilter.c --*/ int text_filter( void *opaque, int control, - IOBUF chain, byte *buf, size_t *ret_len); -int copy_clearsig_text (IOBUF out, IOBUF inp, gcry_md_hd_t md, + iobuf_t chain, byte *buf, size_t *ret_len); +int copy_clearsig_text (iobuf_t out, iobuf_t inp, gcry_md_hd_t md, int escape_dash, int escape_from, int pgp2mode); /*-- progress.c --*/ int progress_filter (void *opaque, int control, - IOBUF a, byte *buf, size_t *ret_len); + iobuf_t a, byte *buf, size_t *ret_len); void handle_progress (progress_filter_context_t *pfx, - IOBUF inp, const char *name); + iobuf_t inp, const char *name); #endif /*G10_FILTER_H*/ |