libmpdclient 2.22
capabilities.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2// Copyright The Music Player Daemon Project
3
10#ifndef MPD_CAPABILITIES_H
11#define MPD_CAPABILITIES_H
12
13#include "recv.h"
14#include "compiler.h"
15#include "tag.h"
16
17#include <stdbool.h>
18
19struct mpd_connection;
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
32bool
34
43bool
45
56mpd_malloc
57static inline struct mpd_pair *
59{
60 return mpd_recv_pair_named(connection, "command");
61}
62
71bool
73
83mpd_malloc
84static inline struct mpd_pair *
86{
87 return mpd_recv_pair_named(connection, "handler");
88}
89
97bool
99
110mpd_malloc
111static inline struct mpd_pair *
113{
114 return mpd_recv_pair_named(connection, "tagtype");
115}
116
129bool
131 const enum mpd_tag_type *types, unsigned n);
132
138bool
140 const enum mpd_tag_type *types, unsigned n);
141
154bool
156 const enum mpd_tag_type *types, unsigned n);
157
163bool
165 const enum mpd_tag_type *types, unsigned n);
166
176bool
178
184bool
186
196bool
198
204bool
206
207#ifdef __cplusplus
208}
209#endif
210
211#endif
bool mpd_send_list_url_schemes(struct mpd_connection *connection)
bool mpd_send_enable_tag_types(struct mpd_connection *connection, const enum mpd_tag_type *types, unsigned n)
static struct mpd_pair * mpd_recv_tag_type_pair(struct mpd_connection *connection)
bool mpd_send_disallowed_commands(struct mpd_connection *connection)
static struct mpd_pair * mpd_recv_command_pair(struct mpd_connection *connection)
bool mpd_send_clear_tag_types(struct mpd_connection *connection)
bool mpd_run_disable_tag_types(struct mpd_connection *connection, const enum mpd_tag_type *types, unsigned n)
bool mpd_run_enable_tag_types(struct mpd_connection *connection, const enum mpd_tag_type *types, unsigned n)
bool mpd_run_all_tag_types(struct mpd_connection *connection)
bool mpd_send_disable_tag_types(struct mpd_connection *connection, const enum mpd_tag_type *types, unsigned n)
bool mpd_send_all_tag_types(struct mpd_connection *connection)
static struct mpd_pair * mpd_recv_url_scheme_pair(struct mpd_connection *connection)
bool mpd_send_list_tag_types(struct mpd_connection *connection)
bool mpd_send_allowed_commands(struct mpd_connection *connection)
bool mpd_run_clear_tag_types(struct mpd_connection *connection)
MPD client library.
struct mpd_pair * mpd_recv_pair_named(struct mpd_connection *connection, const char *name)
mpd_tag_type
Definition tag.h:25