#include <input_stream.h>
Data Fields | |
struct input_plugin * | plugin |
the plugin which implements this input stream | |
char * | uri |
The absolute URI which was used to open this stream. | |
GMutex * | mutex |
A mutex that protects the mutable attributes of this object and its implementation. | |
GCond * | cond |
A cond that gets signalled when the state of this object changes from the I/O thread. | |
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 | |
goffset | size |
the size of the resource, or -1 if unknown | |
goffset | offset |
the current offset within the stream | |
char * | mime |
the MIME content type of the resource, or NULL if unknown |
Definition at line 32 of file input_stream.h.
GCond* input_stream::cond |
A cond that gets signalled when the state of this object changes from the I/O thread.
The client of this object may wait on it. Optional, may be NULL.
This object is allocated by the client, and the client is responsible for freeing it.
Definition at line 62 of file input_stream.h.
char* input_stream::mime |
the MIME content type of the resource, or NULL if unknown
Definition at line 88 of file input_stream.h.
GMutex* input_stream::mutex |
A mutex that protects the mutable attributes of this object and its implementation.
It must be locked before calling any of the public methods.
This object is allocated by the client, and the client is responsible for freeing it.
Definition at line 52 of file input_stream.h.
goffset input_stream::offset |
the current offset within the stream
Definition at line 83 of file input_stream.h.
struct input_plugin* input_stream::plugin [read] |
the plugin which implements this input stream
Definition at line 36 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 68 of file input_stream.h.
if true, then the stream is fully seekable
Definition at line 73 of file input_stream.h.
goffset input_stream::size |
the size of the resource, or -1 if unknown
Definition at line 78 of file input_stream.h.
char* input_stream::uri |
The absolute URI which was used to open this stream.
May be NULL if this is unknown.
Definition at line 42 of file input_stream.h.