src/decoder_plugin.h File Reference

#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  decoder_plugin

Functions

static bool decoder_plugin_init (const struct decoder_plugin *plugin, const struct config_param *param)
 Initialize a decoder plugin.
static void decoder_plugin_finish (const struct decoder_plugin *plugin)
 Deinitialize a decoder plugin which was initialized successfully.
static void decoder_plugin_stream_decode (const struct decoder_plugin *plugin, struct decoder *decoder, struct input_stream *is)
 Decode a stream.
static void decoder_plugin_file_decode (const struct decoder_plugin *plugin, struct decoder *decoder, const char *path_fs)
 Decode a file.
static struct tagdecoder_plugin_tag_dup (const struct decoder_plugin *plugin, const char *path_fs)
 Read the tag of a file.
static char * decoder_plugin_container_scan (const struct decoder_plugin *plugin, const char *pathname, const unsigned int tnum)
 return "virtual" tracks in a container


Function Documentation

static char* decoder_plugin_container_scan ( const struct decoder_plugin plugin,
const char *  pathname,
const unsigned int  tnum 
) [inline, static]

return "virtual" tracks in a container

Definition at line 157 of file decoder_plugin.h.

static void decoder_plugin_file_decode ( const struct decoder_plugin plugin,
struct decoder decoder,
const char *  path_fs 
) [inline, static]

Decode a file.

Definition at line 137 of file decoder_plugin.h.

static void decoder_plugin_finish ( const struct decoder_plugin plugin  )  [inline, static]

Deinitialize a decoder plugin which was initialized successfully.

Definition at line 117 of file decoder_plugin.h.

static bool decoder_plugin_init ( const struct decoder_plugin plugin,
const struct config_param param 
) [inline, static]

Initialize a decoder plugin.

Parameters:
param a configuration block for this plugin, or NULL if none is configured
Returns:
true if the plugin was initialized successfully, false if the plugin is not available

Definition at line 105 of file decoder_plugin.h.

static void decoder_plugin_stream_decode ( const struct decoder_plugin plugin,
struct decoder decoder,
struct input_stream is 
) [inline, static]

Decode a stream.

Definition at line 127 of file decoder_plugin.h.

static struct tag* decoder_plugin_tag_dup ( const struct decoder_plugin plugin,
const char *  path_fs 
) [static, read]

Read the tag of a file.

Definition at line 147 of file decoder_plugin.h.


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