musicus mpd client 0.1d
Data Structures | Typedefs | Functions
Playlist

Data Structures

struct  _MpdPlContainer

Typedefs

typedef struct _MpdPlContainer MpdPlContainer

Functions

mpd_Song ** allocate_pl_mem (int pl_length)
MpdPlContainermpd_pl_container_new ()
MpdPlContainermpd_pl_container_new_alloc (int list_length)
void mpd_pl_container_free (MpdPlContainer *plc)
MpdPlContainermpd_get_pl ()

Detailed Description

Playlist related functions and objects


Typedef Documentation

Playlist container structure


Function Documentation

mpd_Song** allocate_pl_mem ( int  pl_length)

allocate memory for `list` in MpdPlContainer

Parameters:
pl_lengthnumber of entries
Returns:
handle to the newly allocated memory, appropriately casted
MpdPlContainer* mpd_get_pl ( )
void mpd_pl_container_free ( MpdPlContainer plc)

frees a MpdPlContainer (also frees the song list, if allocated)

Parameters:
plca MpdPlContainer to free
MpdPlContainer* mpd_pl_container_new ( )

creates a new MpdPlContainer

Returns:
pointer to the newly created container
MpdPlContainer* mpd_pl_container_new_alloc ( int  list_length)

creates a new MpdPlContainer and allocates the song list

Parameters:
list_lengthnumber of entries for the song list
Returns:
pointer to the newly created container
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines