diff options
author | Werner Koch <wk@gnupg.org> | 1999-02-19 15:54:00 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-02-19 15:54:00 +0100 |
commit | a4ff45f634a5a7bfcee39bc8da50840231933d4a (patch) | |
tree | fa3b30311fa9737e50b067fd3e2c76a4f95e7946 /include | |
parent | See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch (diff) | |
download | gnupg2-a4ff45f634a5a7bfcee39bc8da50840231933d4a.tar.xz gnupg2-a4ff45f634a5a7bfcee39bc8da50840231933d4a.zip |
See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner Koch
Diffstat (limited to 'include')
-rw-r--r-- | include/iobuf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/iobuf.h b/include/iobuf.h index 56607b723..fb21badbc 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -55,6 +55,7 @@ struct iobuf_struct { int (*filter)( void *opaque, int control, IOBUF chain, byte *buf, size_t *len); void *filter_ov; /* value for opaque */ + int filter_ov_owner; IOBUF chain; /* next iobuf used for i/o if any (passed to filter) */ int no, subno; const char *desc; @@ -84,8 +85,10 @@ int iobuf_cancel( IOBUF iobuf ); int iobuf_push_filter( IOBUF a, int (*f)(void *opaque, int control, IOBUF chain, byte *buf, size_t *len), void *ov ); -int iobuf_pop_filter( IOBUF a, int (*f)(void *opaque, int control, - IOBUF chain, byte *buf, size_t *len), void *ov ); +int iobuf_push_filter2( IOBUF a, + int (*f)(void *opaque, int control, + IOBUF chain, byte *buf, size_t *len), + void *ov, int rel_ov ); int iobuf_flush(IOBUF a); void iobuf_clear_eof(IOBUF a); #define iobuf_set_error(a) do { (a)->error = 1; } while(0) |