gmio/tests/stream_buffer.h

16 lines
282 B
C
Raw Normal View History

#ifndef GMIO_STREAM_BUFFER_H
#define GMIO_STREAM_BUFFER_H
2014-02-04 19:41:03 +08:00
#include "../src/gmio_core/stream.h"
2014-02-04 19:41:03 +08:00
typedef struct
{
void* ptr;
size_t len;
size_t pos;
} gmio_buffer_t;
2014-02-04 19:41:03 +08:00
void gmio_stream_set_buffer(gmio_stream_t* stream, gmio_buffer_t* buff);
2014-02-04 19:41:03 +08:00
#endif /* GMIO_STREAM_BUFFER_H */