home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
tmp9
/
p_brw.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-01-20
|
807b
|
29 lines
/*****************************************************************************/
/* 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_ */