Haka: include/haka/vbuffer_sub_stream.h File Reference

Haka

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions
vbuffer_sub_stream.h File Reference
`#include <haka/vbuffer_stream.h>`

Go to the source code of this file.

## Data Structures
struct | vbuffer_sub_stream

## Functions
bool | vbuffer_sub_stream_init (struct vbuffer_sub_stream *stream)
bool | vbuffer_sub_stream_push (struct vbuffer_sub_stream *stream, struct vbuffer_sub *buffer, struct vbuffer_iterator *current)
bool | vbuffer_sub_stream_pop (struct vbuffer_sub_stream *stream, struct vbuffer_sub *sub)

## Detailed Description

Sub buffer stream.

## Function Documentation

bool vbuffer_sub_stream_init | ( | struct vbuffer_sub_stream * | stream | ) |

Initialize a sub buffer stream.

bool vbuffer_sub_stream_pop | ( | struct vbuffer_sub_stream * | stream,
|  | struct vbuffer_sub * | sub
| ) |  |

Pop available data from the stream and automatically do a vbuffer_restore().

bool vbuffer_sub_stream_push | ( | struct vbuffer_sub_stream * | stream,
|  | struct vbuffer_sub * | buffer,
|  | struct vbuffer_iterator * | current
| ) |  |

Push some data into the stream. The data are selected using vbuffer_select().