cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_seq_message Struct Reference

Split a message into sequenced chunks. More...

#include <seq.h>

Public Attributes

uint8_t ** chunks
 Array of chunk buffers.
 
size_t * chunk_lens
 Length of each chunk buffer.
 
size_t count
 Number of chunks.
 

Detailed Description

Split a message into sequenced chunks.

Every chunk is an independent byte buffer prefixed with the 8-byte sequence header. The caller must free the returned buffers with cwist_seq_message_free().

Definition at line 60 of file seq.h.

Member Data Documentation

◆ chunk_lens

size_t* cwist_seq_message::chunk_lens

Length of each chunk buffer.

Definition at line 62 of file seq.h.

Referenced by cwist_seq_split().

◆ chunks

uint8_t** cwist_seq_message::chunks

Array of chunk buffers.

Definition at line 61 of file seq.h.

Referenced by cwist_seq_split().

◆ count

size_t cwist_seq_message::count

Number of chunks.

Definition at line 63 of file seq.h.

Referenced by cwist_seq_split().


The documentation for this struct was generated from the following file: