diff options
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 | ||