libowfat/iob_internal.h

12 lines
265 B
C
Raw Normal View History

2003-09-08 20:29:39 +00:00
#include "iob.h"
#include "array.h"
typedef struct iob_entry {
enum { FROMBUF, FROMBUF_FREE, FROMFILE, FROMFILE_CLOSE } type;
2003-09-08 20:29:39 +00:00
int64 fd;
2003-09-10 00:28:51 +00:00
const char* buf;
2003-09-08 20:29:39 +00:00
uint64 offset,n;
} iob_entry;
2003-11-01 00:08:14 +00:00
int iob_addbuf_internal(io_batch* b,const void* buf,uint64 n,int free);