input_plugin Struct Reference

#include <input_plugin.h>

Data Fields

const char * name
bool(* init )(const struct config_param *param)
 Global initialization.
void(* finish )(void)
 Global deinitialization.
bool(* open )(struct input_stream *is, const char *url)
void(* close )(struct input_stream *is)
struct tag *(* tag )(struct input_stream *is)
int(* buffer )(struct input_stream *is)
size_t(* read )(struct input_stream *is, void *ptr, size_t size)
bool(* eof )(struct input_stream *is)
bool(* seek )(struct input_stream *is, off_t offset, int whence)

Detailed Description

Definition at line 32 of file input_plugin.h.


Field Documentation

int(* input_plugin::buffer)(struct input_stream *is)

Definition at line 53 of file input_plugin.h.

void(* input_plugin::close)(struct input_stream *is)

Definition at line 50 of file input_plugin.h.

bool(* input_plugin::eof)(struct input_stream *is)

Definition at line 55 of file input_plugin.h.

void(* input_plugin::finish)(void)

Global deinitialization.

Called once before MPD shuts down (only if init() has returned true).

Definition at line 47 of file input_plugin.h.

bool(* input_plugin::init)(const struct config_param *param)

Global initialization.

This method is called when MPD starts.

Returns:
true on success, false if the plugin should be disabled

Definition at line 41 of file input_plugin.h.

const char* input_plugin::name

Definition at line 33 of file input_plugin.h.

bool(* input_plugin::open)(struct input_stream *is, const char *url)

Definition at line 49 of file input_plugin.h.

size_t(* input_plugin::read)(struct input_stream *is, void *ptr, size_t size)

Definition at line 54 of file input_plugin.h.

bool(* input_plugin::seek)(struct input_stream *is, off_t offset, int whence)

Definition at line 56 of file input_plugin.h.

struct tag*(* input_plugin::tag)(struct input_stream *is) [read]

Definition at line 52 of file input_plugin.h.


The documentation for this struct was generated from the following file:
Generated on Sun May 2 21:28:32 2010 for MPD by  doxygen 1.6.3