diff options
| author | erdgeist <> | 2007-11-12 01:37:47 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-11-12 01:37:47 +0000 |
| commit | 54bdad552e5c997258467492c0c7d022fb428090 (patch) | |
| tree | b83eca1f0d910fd687806a030510fd985c66b513 /ot_iovec.h | |
| parent | 5da91fd8f240412ec0f543292a7874fe3df1cb14 (diff) | |
New large chunk allocation code
Diffstat (limited to 'ot_iovec.h')
| -rw-r--r-- | ot_iovec.h | 14 |
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 | |||
| 9 | void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_alloc ); | ||
| 10 | void iovec_fixlast( int *iovec_entries, struct iovec **iovector, size_t new_alloc ); | ||
| 11 | void iovec_free( int *iovec_entries, struct iovec **iovector ); | ||
| 12 | size_t iovec_length( int *iovec_entries, struct iovec **iovector ); | ||
| 13 | |||
| 14 | #endif \ No newline at end of file | ||
