|
myMPD
Internal API documentation
|
MPD sticker helpers. More...

Functions | |
| const char * | mympd_sticker_type_name_lookup (enum mympd_sticker_type sticker_type) |
| enum mympd_sticker_type | mympd_sticker_type_name_parse (const char *name) |
| const char * | sticker_name_lookup (enum mympd_sticker_names sticker) |
| enum mympd_sticker_names | sticker_name_parse (const char *name) |
| void | sticker_struct_init (struct t_sticker *sticker) |
| void | sticker_struct_clear (struct t_sticker *sticker) |
| enum mpd_sticker_operator | sticker_oper_parse (const char *str) |
| enum mpd_sticker_sort | sticker_sort_parse (const char *str) |
Variables | |
| static const char *const | mpd_sticker_types_names [STICKER_TYPE_COUNT] |
| static const char *const | mympd_sticker_names [STICKER_COUNT] |
MPD sticker helpers.
| const char * mympd_sticker_type_name_lookup | ( | enum mympd_sticker_type | sticker_type | ) |
Returns the sticker name as string
| sticker_type | enum mpd_sticker_type |
| enum mympd_sticker_type mympd_sticker_type_name_parse | ( | const char * | name | ) |
Parses the mpd sticker type string
| name | sticker type string |
| const char * sticker_name_lookup | ( | enum mympd_sticker_names | sticker | ) |
Returns the sticker name as string
| sticker | enum mympd_sticker_types |
| enum mympd_sticker_names sticker_name_parse | ( | const char * | name | ) |
Parses the sticker name
| name | sticker name |
| enum mpd_sticker_operator sticker_oper_parse | ( | const char * | str | ) |
Converts a string to a mpd sticker operator
| str | string to parse |
| enum mpd_sticker_sort sticker_sort_parse | ( | const char * | str | ) |
Converts a string to a mpd sticker sort enum
| str | string to parse |
| void sticker_struct_clear | ( | struct t_sticker * | sticker | ) |
Clears the sticker struct
| sticker |
| void sticker_struct_init | ( | struct t_sticker * | sticker | ) |
Initializes the sticker struct
| sticker | struct to init |
|
static |
MPD sticker types names
|
static |
myMPD sticker names