input_stream Struct Reference

#include <input_stream.h>


Data Fields

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


Detailed Description

Definition at line 29 of file input_stream.h.


Field Documentation

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.

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

Definition at line 69 of file input_stream.h.

the current offset within the stream

Definition at line 64 of file input_stream.h.

the plugin which implements this input stream

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

if true, then the stream is fully seekable

Definition at line 49 of file input_stream.h.

the size of the resource, or -1 if unknown

Definition at line 59 of file input_stream.h.


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

Generated on Wed Aug 25 00:21:21 2010 for MPD by  doxygen 1.5.7.1