summaryrefslogtreecommitdiff
path: root/ot_iovec.h
diff options
context:
space:
mode:
authorerdgeist <>2007-11-12 01:37:47 +0000
committererdgeist <>2007-11-12 01:37:47 +0000
commit54bdad552e5c997258467492c0c7d022fb428090 (patch)
treeb83eca1f0d910fd687806a030510fd985c66b513 /ot_iovec.h
parent5da91fd8f240412ec0f543292a7874fe3df1cb14 (diff)
New large chunk allocation code
Diffstat (limited to 'ot_iovec.h')
-rw-r--r--ot_iovec.h14
1 files changed, 14 insertions, 0 deletions
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 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. */
3
4#ifndef __OT_IOVEC_H__
5#define __OT_IOVEC_H__
6
7#include <sys/uio.h>
8
9void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_alloc );
10void iovec_fixlast( int *iovec_entries, struct iovec **iovector, size_t new_alloc );
11void iovec_free( int *iovec_entries, struct iovec **iovector );
12size_t iovec_length( int *iovec_entries, struct iovec **iovector );
13
14#endif \ No newline at end of file