#include <input_stream.h>
Data Fields | |
struct input_plugin * | plugin |
the plugin which implements this input stream | |
void * | data |
an opaque pointer managed by the plugin | |
bool | ready |
indicates whether the stream is ready for reading and whether the other attributes in this struct are valid | |
bool | seekable |
if true, then the stream is fully seekable | |
int | error |
an optional errno error code, set to non-zero after an error occured | |
off_t | size |
the size of the resource, or -1 if unknown | |
off_t | offset |
the current offset within the stream | |
char * | mime |
the MIME content type of the resource, or NULL if unknown |
Definition at line 29 of file input_stream.h.
void* input_stream::data |
an opaque pointer managed by the plugin
Definition at line 38 of file input_stream.h.
an optional errno error code, set to non-zero after an error occured
Definition at line 54 of file input_stream.h.
char* input_stream::mime |
the MIME content type of the resource, or NULL if unknown
Definition at line 69 of file input_stream.h.
off_t input_stream::offset |
the current offset within the stream
Definition at line 64 of file input_stream.h.
struct input_plugin* input_stream::plugin |
the plugin which implements this input stream
Definition at line 33 of file input_stream.h.
bool input_stream::ready |
indicates whether the stream is ready for reading and whether the other attributes in this struct are valid
Definition at line 44 of file input_stream.h.
if true, then the stream is fully seekable
Definition at line 49 of file input_stream.h.
off_t input_stream::size |
the size of the resource, or -1 if unknown
Definition at line 59 of file input_stream.h.