1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* iobuf.h: Remove iobuf_set_block_mode() and iobuf_in_block_mode().

This commit is contained in:
David Shaw 2004-03-04 20:46:56 +00:00
parent 64e3f5a313
commit f29639dae5
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-03-04 David Shaw <dshaw@jabberwocky.com>
* iobuf.h: Remove iobuf_set_block_mode() and
iobuf_in_block_mode().
2004-02-21 David Shaw <dshaw@jabberwocky.com> 2004-02-21 David Shaw <dshaw@jabberwocky.com>
* util.h: Prototype for hextobyte(). * util.h: Prototype for hextobyte().

View File

@ -1,5 +1,5 @@
/* iobuf.h - I/O buffer /* iobuf.h - I/O buffer
* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. * Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
* *
* This file is part of GNUPG. * This file is part of GNUPG.
* *
@ -129,13 +129,10 @@ off_t iobuf_get_filelength( IOBUF a );
const char *iobuf_get_real_fname( IOBUF a ); const char *iobuf_get_real_fname( IOBUF a );
const char *iobuf_get_fname( IOBUF a ); const char *iobuf_get_fname( IOBUF a );
void iobuf_set_block_mode( IOBUF a, size_t n );
void iobuf_set_partial_block_mode( IOBUF a, size_t len ); void iobuf_set_partial_block_mode( IOBUF a, size_t len );
int iobuf_in_block_mode( IOBUF a );
int iobuf_translate_file_handle ( int fd, int for_write ); int iobuf_translate_file_handle ( int fd, int for_write );
/* get a byte form the iobuf; must check for eof prior to this function /* get a byte form the iobuf; must check for eof prior to this function
* this function returns values in the range 0 .. 255 or -1 to indicate EOF * this function returns values in the range 0 .. 255 or -1 to indicate EOF
* iobuf_get_noeof() does not return -1 to indicate EOF, but masks the * iobuf_get_noeof() does not return -1 to indicate EOF, but masks the