libmpdclient 2.22
sticker.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2// Copyright The Music Player Daemon Project
3
12#ifndef MPD_STICKER_H
13#define MPD_STICKER_H
14
15#include "compiler.h"
16
17#include <stdbool.h>
18#include <stddef.h>
19
20struct mpd_connection;
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
56bool
57mpd_send_sticker_set(struct mpd_connection *connection, const char *type,
58 const char *uri, const char *name, const char *value);
59
72bool
73mpd_run_sticker_set(struct mpd_connection *connection, const char *type,
74 const char *uri, const char *name, const char *value);
75
87bool
88mpd_send_sticker_delete(struct mpd_connection *connection, const char *type,
89 const char *uri, const char *name);
90
102bool
103mpd_run_sticker_delete(struct mpd_connection *connection, const char *type,
104 const char *uri, const char *name);
105
117bool
118mpd_send_sticker_get(struct mpd_connection *connection, const char *type,
119 const char *uri, const char *name);
120
132bool
133mpd_send_sticker_list(struct mpd_connection *connection, const char *type,
134 const char *uri);
135
149bool
150mpd_send_sticker_find(struct mpd_connection *connection, const char *type,
151 const char *base_uri, const char *name);
152
164const char *
165mpd_parse_sticker(const char *input, size_t *name_length_r);
166
177mpd_malloc
178struct mpd_pair *
180
186void
187mpd_return_sticker(struct mpd_connection *connection, struct mpd_pair *pair);
188
198bool
200
201#ifdef __cplusplus
202}
203#endif
204
205#endif /* MPD_STICKER_H */
206
bool mpd_run_sticker_set(struct mpd_connection *connection, const char *type, const char *uri, const char *name, const char *value)
bool mpd_run_sticker_delete(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
bool mpd_send_sticker_get(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
bool mpd_send_sticker_delete(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
bool mpd_send_sticker_find(struct mpd_connection *connection, const char *type, const char *base_uri, const char *name)
struct mpd_pair * mpd_recv_sticker(struct mpd_connection *connection)
bool mpd_send_stickernames(struct mpd_connection *connection)
bool mpd_send_sticker_set(struct mpd_connection *connection, const char *type, const char *uri, const char *name, const char *value)
void mpd_return_sticker(struct mpd_connection *connection, struct mpd_pair *pair)
const char * mpd_parse_sticker(const char *input, size_t *name_length_r)
bool mpd_send_sticker_list(struct mpd_connection *connection, const char *type, const char *uri)