feature.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
// Copyright The Music Player Daemon Project
#ifndef LIBMPDCLIENT_FEATURE_H
#define LIBMPDCLIENT_FEATURE_H
enum mpd_protocol_feature
{
MPD_FEATURE_UNKNOWN = -1,
MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT,
/* IMPORTANT: the ordering above must be
retained, or else the libmpdclient ABI breaks */
MPD_FEATURE_COUNT
};
#ifdef __cplusplus
extern "C" {
#endif
const char *
mpd_feature_name(enum mpd_protocol_feature feature);
enum mpd_protocol_feature
mpd_feature_name_parse(const char *name);
#ifdef __cplusplus
}
#endif
#endif
mpd_protocol_feature
mpd_protocol_feature
Definition feature.h:11
MPD_FEATURE_UNKNOWN
@ MPD_FEATURE_UNKNOWN
Definition feature.h:16
MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT
@ MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT
Definition feature.h:18
MPD_FEATURE_COUNT
@ MPD_FEATURE_COUNT
Definition feature.h:23
mpd_feature_name
const char * mpd_feature_name(enum mpd_protocol_feature feature)
mpd_feature_name_parse
enum mpd_protocol_feature mpd_feature_name_parse(const char *name)