MPD 0.17~git
|
#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 36 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 66 of file input_stream.h.
char* input_stream::mime |
the MIME content type of the resource, or NULL if unknown
Definition at line 92 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 56 of file input_stream.h.
the current offset within the stream
Definition at line 87 of file input_stream.h.
struct input_plugin* input_stream::plugin |
the plugin which implements this input stream
Definition at line 40 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 72 of file input_stream.h.
if true, then the stream is fully seekable
Definition at line 77 of file input_stream.h.
the size of the resource, or -1 if unknown
Definition at line 82 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 46 of file input_stream.h.