diff options
Diffstat (limited to 'ot_iovec.h')
| -rw-r--r-- | ot_iovec.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ot_iovec.h b/ot_iovec.h deleted file mode 100644 index 4a8abbb..0000000 --- a/ot_iovec.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 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_new_chunk(size_t *iovec_entries, struct iovec **iovector, size_t new_alloc); | ||
| 10 | void *iovec_append(size_t *iovec_entries, struct iovec **iovector, struct iovec *append_iovector); | ||
| 11 | void iovec_trim_last(size_t *iovec_entries, struct iovec **iovector, void *last_ptr); | ||
| 12 | void iovec_free(size_t *iovec_entries, struct iovec **iovector); | ||
| 13 | |||
| 14 | size_t iovec_length(const size_t *iovec_entries, const struct iovec **iovector); | ||
| 15 | |||
| 16 | void *iovec_next_chunk(size_t *iovec_entries, struct iovec **iovector, void *last_ptr, size_t new_alloc); | ||
| 17 | |||
| 18 | #endif | ||
