add ..._free variants

master
leitner 21 years ago
parent 9d47e5b702
commit 68120bb142

@ -23,7 +23,9 @@ typedef struct io_batch {
io_batch* iob_new(int hint_entries); io_batch* iob_new(int hint_entries);
int iob_addbuf(io_batch* b,const void* buf,uint64 n); 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(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); int iob_addfile(io_batch* b,int64 fd,uint64 off,uint64 n);
int64 iob_send(int64 s,io_batch* b); int64 iob_send(int64 s,io_batch* b);
void iob_reset(io_batch* b); void iob_reset(io_batch* b);

Loading…
Cancel
Save