sticker.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-2-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_STICKER_H
#define MPD_STICKER_H
#include "compiler.h"
#include <stdbool.h>
#include <stddef.h>
struct mpd_connection;
#ifdef __cplusplus
extern "C" {
#endif
bool
mpd_send_sticker_set(struct mpd_connection *connection, const char *type,
const char *uri, const char *name, const char *value);
bool
mpd_run_sticker_set(struct mpd_connection *connection, const char *type,
const char *uri, const char *name, const char *value);
bool
mpd_send_sticker_delete(struct mpd_connection *connection, const char *type,
const char *uri, const char *name);
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_list(struct mpd_connection *connection, const char *type,
const char *uri);
bool
mpd_send_sticker_find(struct mpd_connection *connection, const char *type,
const char *base_uri, const char *name);
const char *
mpd_parse_sticker(const char *input, size_t *name_length_r);
mpd_malloc
struct mpd_pair *
mpd_recv_sticker(struct mpd_connection *connection);
void
mpd_return_sticker(struct mpd_connection *connection, struct mpd_pair *pair);
bool
mpd_send_stickernames(struct mpd_connection *connection);
#ifdef __cplusplus
}
#endif
#endif /* MPD_STICKER_H */
mpd_run_sticker_set
bool mpd_run_sticker_set(struct mpd_connection *connection, const char *type, const char *uri, const char *name, const char *value)
mpd_run_sticker_delete
bool mpd_run_sticker_delete(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
mpd_send_sticker_get
bool mpd_send_sticker_get(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
mpd_send_sticker_delete
bool mpd_send_sticker_delete(struct mpd_connection *connection, const char *type, const char *uri, const char *name)
mpd_send_sticker_find
bool mpd_send_sticker_find(struct mpd_connection *connection, const char *type, const char *base_uri, const char *name)
mpd_recv_sticker
struct mpd_pair * mpd_recv_sticker(struct mpd_connection *connection)
mpd_send_stickernames
bool mpd_send_stickernames(struct mpd_connection *connection)
mpd_send_sticker_set
bool mpd_send_sticker_set(struct mpd_connection *connection, const char *type, const char *uri, const char *name, const char *value)
mpd_return_sticker
void mpd_return_sticker(struct mpd_connection *connection, struct mpd_pair *pair)
mpd_parse_sticker
const char * mpd_parse_sticker(const char *input, size_t *name_length_r)
mpd_send_sticker_list
bool mpd_send_sticker_list(struct mpd_connection *connection, const char *type, const char *uri)
mpd_connection
mpd_pair
Definition pair.h:16