mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner Koch
This commit is contained in:
parent
a1dcec76c1
commit
3983f30bd2
24 changed files with 378 additions and 182 deletions
11
util/iobuf.c
11
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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue