libopenmpt: libopenmpt/libopenmpt_stream_callbacks_buffer.h File Reference

libopenmpt 0.7.17-pre.0+r24325 cross-platform C++ and C library to decode tracked music files

Classes | Macros | Typedefs | Functions
libopenmpt_stream_callbacks_buffer.h File Reference
`#include "libopenmpt.h"`
`#include <stdint.h>`
`#include <stdlib.h>`
`#include <string.h>`

Go to the source code of this file.

## Classes
struct | openmpt_stream_buffer
struct | openmpt_stream_buffer2

## Macros
#define | openmpt_stream_buffer_init_prefix_only(buffer_, prefix_data_, prefix_size_, file_size_)
#define | openmpt_stream_buffer_overflowed(buffer_) ( (buffer_)->overflow )

## Typedefs
typedef struct openmpt_stream_buffer | openmpt_stream_buffer
typedef struct openmpt_stream_buffer2 | openmpt_stream_buffer2

## Functions
static size_t | openmpt_stream_buffer_read_func (void *stream, void *dst, size_t bytes)
static int | openmpt_stream_buffer_seek_func (void *stream, int64_t offset, int whence)
static int64_t | openmpt_stream_buffer_tell_func (void *stream)
static void | openmpt_stream_buffer_init (openmpt_stream_buffer *buffer, const void *file_data, int64_t file_size)
static openmpt_stream_callbacks | openmpt_stream_get_buffer_callbacks (void)
| Provide openmpt_stream_callbacks for in-memoy buffers. More...
static size_t | openmpt_stream_buffer_read_func2 (void *stream, void *dst, size_t bytes)
static int | openmpt_stream_buffer_seek_func2 (void *stream, int64_t offset, int whence)
static int64_t | openmpt_stream_buffer_tell_func2 (void *stream)
static void | openmpt_stream_buffer_init2 (openmpt_stream_buffer2 *buffer, const void *file_data, int64_t file_size)
static openmpt_stream_callbacks | openmpt_stream_get_buffer_callbacks2 (void)
| Provide openmpt_stream_callbacks for in-memoy buffers. More...