libmpdclient  2.23
Enumerations | Functions
feature.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  mpd_protocol_feature { MPD_FEATURE_UNKNOWN = -1, MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT, MPD_FEATURE_COUNT }
 

Functions

const char * mpd_feature_name (enum mpd_protocol_feature feature)
 
enum mpd_protocol_feature mpd_feature_name_parse (const char *name)
 

Enumeration Type Documentation

Since
libmpdclient 2.23 added support for MPD_TAG_SHOWMOVEMENT.
Enumerator
MPD_FEATURE_UNKNOWN 

Special value returned by mpd_feature_parse() when an unknown name was passed.

MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT 
MPD_FEATURE_COUNT 

Definition at line 10 of file feature.h.

Function Documentation

const char* mpd_feature_name ( enum mpd_protocol_feature  feature)

Looks up the name of the specified protocol feature.

Returns
the name, or NULL if the tag type is not valid
enum mpd_protocol_feature mpd_feature_name_parse ( const char *  name)

Parses a protocol feature name, and returns its mpd_protocol_feature value.

Returns
a mpd_protocol_feature value, or MPD_FEATURE_UNKNOWN if the name was not recognized