add ..._free variants
This commit is contained in:
parent
9d47e5b702
commit
68120bb142
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…
x
Reference in New Issue
Block a user