MPD 0.17~git
Data Fields
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 36 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 66 of file input_stream.h.

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

Definition at line 92 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 56 of file input_stream.h.

the current offset within the stream

Definition at line 87 of file input_stream.h.

the plugin which implements this input stream

Definition at line 40 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 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.

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.


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