libmpdclient
2.23
feature.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
2
// Copyright The Music Player Daemon Project
3
4
#ifndef LIBMPDCLIENT_FEATURE_H
5
#define LIBMPDCLIENT_FEATURE_H
6
10
enum
mpd_protocol_feature
11
{
16
MPD_FEATURE_UNKNOWN
= -1,
17
18
MPD_FEATURE_HIDE_PLAYLISTS_IN_ROOT
,
19
20
/* IMPORTANT: the ordering of tag types above must be
21
retained, or else the libmpdclient ABI breaks */
22
23
MPD_FEATURE_COUNT
24
};
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
35
const
char
*
36
mpd_feature_name
(
enum
mpd_protocol_feature
feature);
37
44
enum
mpd_protocol_feature
45
mpd_feature_name_parse
(
const
char
*name);
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#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)
mpd
feature.h
Generated by
1.14.0