diff options
author | Werner Koch <wk@gnupg.org> | 1999-05-17 22:03:24 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-05-17 22:03:24 +0200 |
commit | 3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5 (patch) | |
tree | ef2ea1a332a2e954d1c5c86b66570da8fa6935b6 /util/iobuf.c | |
parent | See ChangeLog: Sat May 8 19:28:33 CEST 1999 Werner Koch (diff) | |
download | gnupg2-3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5.tar.xz gnupg2-3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5.zip |
See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner Koch
Diffstat (limited to 'util/iobuf.c')
-rw-r--r-- | util/iobuf.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/util/iobuf.c b/util/iobuf.c index 5eae82d10..bd7093a9e 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -424,6 +424,12 @@ print_chain( IOBUF a ) } } +int +iobuf_print_chain( IOBUF a ) +{ + print_chain(a); +} + /**************** * Allocate a new io buffer, with no function assigned. * Use is the desired usage: 1 for input, 2 for output, 3 for temp buffer @@ -787,7 +793,7 @@ iobuf_push_filter2( IOBUF a, /**************** * Remove an i/o filter. */ -static int +int pop_filter( IOBUF a, int (*f)(void *opaque, int control, IOBUF chain, byte *buf, size_t *len), void *ov ) { @@ -856,7 +862,6 @@ pop_filter( IOBUF a, int (*f)(void *opaque, int control, } - /**************** * read underflow: read more bytes into the buffer and return * the first byte or -1 on EOF. @@ -949,8 +954,6 @@ underflow(IOBUF a) memcpy(a,b, sizeof *a); m_free(b); print_chain(a); - - } } else if( rc ) |