diff options
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 3a6e4f09d..3c222689b 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -125,6 +125,9 @@ void iobuf_set_block_mode( IOBUF a, size_t n ); 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 ); + + /* 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 * iobuf_get_noeof() does not return -1 to indicate EOF, but masks the |