input_stream Struct Reference

#include <input_stream.h>

Data Fields

struct input_pluginplugin
 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

Detailed Description

Definition at line 32 of file input_stream.h.


Field Documentation

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.

the MIME content type of the resource, or NULL if unknown

Definition at line 88 of file input_stream.h.

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.

the current offset within the stream

Definition at line 83 of file input_stream.h.

the plugin which implements this input stream

Definition at line 36 of file input_stream.h.

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.

the size of the resource, or -1 if unknown

Definition at line 78 of file input_stream.h.

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.


The documentation for this struct was generated from the following file:

Generated on 9 Aug 2013 for MPD by  doxygen 1.6.1