Misc


Functions

unsigned int mpd_song_markup (char *s, unsigned int max, const char *format, mpd_Song *song)
int mpd_misc_get_tag_by_name (char *name)

Detailed Description

Helper functions.

Function Documentation

int mpd_misc_get_tag_by_name ( char *  name  ) 

Parameters:
name a NULL terminated string
gets the Matching MpdDataType matching at the string

Returns:
a MpdDataType

unsigned int mpd_song_markup ( char *  s,
unsigned int  max,
const char *  format,
mpd_Song song 
)

Parameters:
s A buffer to write the string in
max The max length of the buffer
format The markup string
song A mpd_Song
printfs a formatted string of a mpd_Song

Returns:
The length of the new formatted string


Copyright 2006 Qball Cow