From 68120bb1423af6d6ce17a460da6456a03368639c Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 1 Nov 2003 00:09:15 +0000 Subject: [PATCH] add ..._free variants --- iob.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iob.h b/iob.h index d555e26..8bfb30a 100644 --- a/iob.h +++ b/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);