Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
io_vec.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stddef.h>
9
10#include <sys/socket.h>
11#include <sys/types.h>
12
13#include <slice99.h>
14
15#include <compy/priv/compiler_attrs.h>
16
20SLICE99_DEF_TYPED(Compy_IoVecSlice, struct iovec);
21
25size_t Compy_IoVecSlice_len(Compy_IoVecSlice self) COMPY_PRIV_MUST_USE;
26
30struct iovec compy_slice_to_iovec(U8Slice99 slice) COMPY_PRIV_MUST_USE;
struct iovec compy_slice_to_iovec(U8Slice99 slice) COMPY_PRIV_MUST_USE
Converts an octet slice slice to struct iovec.
Definition io_vec.c:12
size_t Compy_IoVecSlice_len(Compy_IoVecSlice self) COMPY_PRIV_MUST_USE
Computes the total length of self.
Definition io_vec.c:3
SLICE99_DEF_TYPED(Compy_IoVecSlice, struct iovec)
A slice of elements of type struct iovec.