Browse Source

add ..._free variants

master
Felix von Leitner 18 years ago
parent
commit
12b906cb51
  1. 2
      iob.h

2
iob.h

@ -23,7 +23,9 @@ typedef struct io_batch {
io_batch* iob_new(int hint_entries);
int iob_addbuf(io_batch* b,const void* buf,uint64 n);
int iob_addbuf_free(io_batch* b,const void* buf,uint64 n);
int iob_adds(io_batch* b,const char* s);
int iob_adds_free(io_batch* b,const char* s);
int iob_addfile(io_batch* b,int64 fd,uint64 off,uint64 n);
int64 iob_send(int64 s,io_batch* b);
void iob_reset(io_batch* b);

Loading…
Cancel
Save