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.
 
 
 
 

14 lines
307 B

  1. #include "iob.h"
  2. #include "array.h"
  3. typedef struct iob_entry {
  4. enum { FROMBUF, FROMFILE } type;
  5. int64 fd;
  6. const char* buf;
  7. uint64 offset,n;
  8. void (*cleanup)(struct iob_entry* x);
  9. } iob_entry;
  10. int iob_addbuf_internal(io_batch* b,const void* buf,uint64 n,
  11. void (*cleanup)(struct iob_entry* x));