![]() |
SolarCapture C Bindings
|
sc_iovec_ptr: Supports iterating over a 'struct iovec'. More...
#include <string.h>Go to the source code of this file.
Data Structures | |
| struct | sc_iovec_ptr |
Functions | |
| static void | sc_iovec_ptr_init (struct sc_iovec_ptr *iovp, const struct iovec *iov, int iovlen) |
| Initialise a struct sc_iovec_ptr. More... | |
| static void | sc_iovec_ptr_init_buf (struct sc_iovec_ptr *iovp, void *buf, int len) |
| Initialise a struct sc_iovec_ptr with a contiguous buffer. More... | |
| static void | sc_iovec_ptr_init_packet (struct sc_iovec_ptr *iovp, const struct sc_packet *packet) |
| Initialise a struct sc_iovec_ptr to point at packet data. More... | |
| static int | sc_iovec_ptr_bytes (const struct sc_iovec_ptr *iovp) |
| Returns the number of bytes represented by an sc_iovec_ptr. More... | |
| int | sc_iovec_ptr_skip (struct sc_iovec_ptr *iovp, int bytes_to_skip) |
| Skip forward over an iovec. More... | |
| int | sc_iovec_ptr_find_chr (const struct sc_iovec_ptr *iovp, int c) |
| Find offset of character in iovec. More... | |
| int | sc_iovec_ptr_copy_out (void *dest, struct sc_iovec_ptr *iovp, int max_bytes) |
| Copy data out of an sc_iovec_ptr. More... | |
| static void | sc_iovec_copy_from_end (void *dest_buf, const struct iovec *iov, int iovlen, int bytes) |
| Copy data out of the end of a sc_iovec_ptr. More... | |
| static void | sc_iovec_trim_end (struct iovec *iov, uint8_t *iovlen, int bytes) |
| Remove data from the end of an iovec. More... | |
sc_iovec_ptr: Supports iterating over a 'struct iovec'.
1.8.6