_MpdData Struct Reference
[BasicData Object]

#include <libmpd.h>


Data Fields

MpdDataType type
union {
   struct {
      int   tag_type
      char *   tag
   } 
   char *   directory
   mpd_PlaylistFile *   playlist
   mpd_Song *   song
   mpd_OutputEntity *   output_dev
}; 
void * userdata
void(* freefunc )(void *userdata)


Detailed Description

# A fast linked list that is used to pass data from libmpd to the client.
Examples:

testcase.c.

Definition at line 137 of file libmpd.h.


Field Documentation

a MpdDataType

Examples:
testcase.c.

Definition at line 139 of file libmpd.h.

a mpd_TagItems defining what tag contains

Definition at line 143 of file libmpd.h.

a string containing the tag

Definition at line 145 of file libmpd.h.

a directory

Definition at line 148 of file libmpd.h.

a path to a playlist

Definition at line 150 of file libmpd.h.

a mpd_Song

Examples:
testcase.c.

Definition at line 152 of file libmpd.h.

an output device entity

Definition at line 154 of file libmpd.h.

union { ... }

Definition at line 157 of file libmpd.h.

void(* _MpdData::freefunc)(void *userdata)


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

Copyright 2006 Qball Cow