From 54bdad552e5c997258467492c0c7d022fb428090 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 12 Nov 2007 01:37:47 +0000 Subject: New large chunk allocation code --- ot_iovec.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ot_iovec.h (limited to 'ot_iovec.h') diff --git a/ot_iovec.h b/ot_iovec.h new file mode 100644 index 0000000..7bf3046 --- /dev/null +++ b/ot_iovec.h @@ -0,0 +1,14 @@ +/* This software was written by Dirk Engling + It is considered beerware. Prost. Skol. Cheers or whatever. */ + +#ifndef __OT_IOVEC_H__ +#define __OT_IOVEC_H__ + +#include + +void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_alloc ); +void iovec_fixlast( int *iovec_entries, struct iovec **iovector, size_t new_alloc ); +void iovec_free( int *iovec_entries, struct iovec **iovector ); +size_t iovec_length( int *iovec_entries, struct iovec **iovector ); + +#endif \ No newline at end of file -- cgit v1.2.3