1
0
mirror of git://erdgeist.org/opentracker synced 2025-02-05 03:26:25 +00:00
opentracker/ot_iovec.h

21 lines
754 B
C
Raw Normal View History

2007-11-12 01:37:47 +00:00
/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2007-12-20 05:59:34 +00:00
It is considered beerware. Prost. Skol. Cheers or whatever.
2008-10-28 01:27:22 +00:00
2007-12-20 05:59:34 +00:00
$id$ */
2007-11-12 01:37:47 +00:00
#ifndef OT_IOVEC_H__
#define OT_IOVEC_H__
2007-11-12 01:37:47 +00:00
#include <sys/uio.h>
2007-11-12 01:37:47 +00:00
void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_alloc );
2024-04-13 00:47:29 +02:00
void *iovec_append( int *iovec_entries, struct iovec **iovector, struct iovec *append_iovector );
void iovec_fixlast( int *iovec_entries, struct iovec **iovector, void *last_ptr );
2007-11-12 01:37:47 +00:00
void iovec_free( int *iovec_entries, struct iovec **iovector );
2021-04-25 18:23:00 +02:00
size_t iovec_length( const int *iovec_entries, const struct iovec **iovector );
2007-11-12 01:37:47 +00:00
void *iovec_fix_increase_or_free( int *iovec_entries, struct iovec **iovector, void *last_ptr, size_t new_alloc );
2007-11-12 01:45:33 +00:00
#endif