gmio/tests/stream_buffer.h

16 lines
283 B
C
Raw Normal View History

2014-02-04 19:41:03 +08:00
#ifndef FOUG_STREAM_BUFFER_H
#define FOUG_STREAM_BUFFER_H
2014-03-14 05:56:28 +08:00
#include "../src/datax_core/stream.h"
2014-02-04 19:41:03 +08:00
typedef struct
{
void* ptr;
size_t len;
size_t pos;
} foug_buffer_t;
void foug_stream_set_buffer(foug_stream_t* stream, foug_buffer_t* buff);
#endif /* FOUG_STREAM_BUFFER_H */