Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
265 B

#include "iob.h"
#include "array.h"
typedef struct iob_entry {
enum { FROMBUF, FROMBUF_FREE, FROMFILE, FROMFILE_CLOSE } type;
int64 fd;
const char* buf;
uint64 offset,n;
} iob_entry;
int iob_addbuf_internal(io_batch* b,const void* buf,uint64 n,int free);