/*****************************************************************************/ /* Copyright (c) 1994 by Jyrki Salmi <jytasa@jyu.fi> */ /* You may modify, recompile and distribute this file freely. */ /*****************************************************************************/ #ifndef _BRW_H_ #define _BRW_H_ typedef struct _BRWF { S32 fd; U8 *inbuf; U32 inbuf_size; U32 inbuf_idx; U32 inbuf_len; U8 *outbuf; U32 outbuf_size; U32 outbuf_idx; } BRWF; _PROTOTYP( BRWF *brw_open, (U8 *, U32, U32, S32, S32, S32)); _PROTOTYP( VOID brw_close, (BRWF **)); _PROTOTYP( S32 brw_read, (BRWF *, U8 *, U32)); _PROTOTYP( S32 brw_flush,(BRWF *)); _PROTOTYP( S32 brw_write, (BRWF *, U8 *, U32)); _PROTOTYP( S32 brw_seek, (BRWF *, U32)); #endif /* _BRW_H_ */