bio
 
Loading...
Searching...
No Matches
bio_buffer_options_t Struct Reference

Options for a buffer. More...

#include <buffering.h>

Data Fields

bio_io_buffer_ctx_t ctx
 Context for functions.
 
bio_read_fn_t read_fn
 Read callback.
 
bio_write_fn_t write_fn
 Write callback.
 
bio_flush_fn_t flush_fn
 Flush callback.
 
size_t size
 Buffer size in bytes.
 

Detailed Description

Options for a buffer.

Field Documentation

◆ ctx

bio_io_buffer_ctx_t bio_buffer_options_t::ctx

Context for functions.

◆ flush_fn

bio_flush_fn_t bio_buffer_options_t::flush_fn

Flush callback.

◆ read_fn

bio_read_fn_t bio_buffer_options_t::read_fn

Read callback.

◆ size

size_t bio_buffer_options_t::size

Buffer size in bytes.

◆ write_fn

bio_write_fn_t bio_buffer_options_t::write_fn

Write callback.


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