diff options
| author | Werner Koch <[email protected]> | 1997-11-21 14:53:57 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1997-11-21 14:53:57 +0000 |
| commit | 2f3cb7e30a56c21f1b5182b6914104ca0c3f8f71 (patch) | |
| tree | abb30451cd6f2b6d3c28d0a91b71bc3c04a9f2a2 /include/iobuf.h | |
| parent | Output armor works, RSA keygen works. (diff) | |
| download | gnupg-2f3cb7e30a56c21f1b5182b6914104ca0c3f8f71.tar.gz gnupg-2f3cb7e30a56c21f1b5182b6914104ca0c3f8f71.zip | |
Armor works now
Diffstat (limited to 'include/iobuf.h')
| -rw-r--r-- | include/iobuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/iobuf.h b/include/iobuf.h index a3c64a44b..789ffde07 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -58,6 +58,8 @@ struct iobuf_struct { IOBUF chain; /* next iobuf used for i/o if any (passed to filter) */ int no, subno; const char *desc; + void *opaque; /* can be used to old any information */ + /* this value is copied to all instances */ }; int iobuf_debug_mode; @@ -91,6 +93,7 @@ void iobuf_push_recorder( IOBUF a, int c ); char *iobuf_stop_recorder( IOBUF a, size_t *n ); u32 iobuf_get_filelength( IOBUF a ); +const char *iobuf_get_fname( IOBUF a ); void iobuf_set_block_mode( IOBUF a, size_t n ); int iobuf_in_block_mode( IOBUF a ); |
