libmpd 11.8.17
Data Object

Data Structures

struct  _MpdData
 

Typedefs

typedef struct _MpdData MpdData
 

Enumerations

enum  MpdDataType {
  MPD_DATA_TYPE_NONE , MPD_DATA_TYPE_TAG , MPD_DATA_TYPE_DIRECTORY , MPD_DATA_TYPE_SONG ,
  MPD_DATA_TYPE_PLAYLIST , MPD_DATA_TYPE_OUTPUT_DEV
}
 

Detailed Description

This is a fast linked list implementation where data returned from mpd is stored in.

Typedef Documentation

◆ MpdData

typedef struct _MpdData MpdData

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

Enumeration Type Documentation

◆ MpdDataType

enumeration to determine what value the MpdData structure hold. The MpdData structure can hold only one type of value, but a list of MpdData structs can hold structs with different type of values. It's required to check every MpdData Structure.

Enumerator
MPD_DATA_TYPE_NONE 

The MpdData structure holds no value

MPD_DATA_TYPE_TAG 

Holds an Tag String. value->tag is filled value->tag_type defines what type of tag.

MPD_DATA_TYPE_DIRECTORY 

Holds an Directory String. value->directory is filled.

MPD_DATA_TYPE_SONG 

Holds an MpdSong Structure. value->song is valid.

MPD_DATA_TYPE_PLAYLIST 

Holds an Playlist String. value->playlist is filled.

MPD_DATA_TYPE_OUTPUT_DEV 

Holds an MpdOutputDevice structure. value->output_dev is valid.

Definition at line 121 of file libmpd.h.


Copyright 2006 Qball Cow