libmpd  11.8.17
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

◆ mpd_misc_get_tag_by_name()

int mpd_misc_get_tag_by_name ( char *  name)
Parameters
namea NULL terminated string

gets the Matching MpdDataType matching at the string

Returns
a MpdDataType

◆ mpd_song_markup()

unsigned int mpd_song_markup ( char *  s,
unsigned int  max,
const char *  format,
mpd_Song song 
)
Parameters
sA buffer to write the string in
maxThe max length of the buffer
formatThe markup string
songA mpd_Song

printfs a formatted string of a mpd_Song

Returns
The length of the new formatted string

Copyright 2006 Qball Cow