libmpdclient 2.22
albumart.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright The Music Player Daemon Project
3
10#ifndef MPD_ALBUMART_H
11#define MPD_ALBUMART_H
12
13#include "compiler.h"
14
15#include <stdbool.h>
16#include <stddef.h>
17
18struct mpd_connection;
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
35bool
36mpd_send_albumart(struct mpd_connection *connection, const char *uri, unsigned offset);
37
49int
50mpd_recv_albumart(struct mpd_connection *connection, void *buffer, size_t buffer_size);
51
66int
68 const char *uri, unsigned offset,
69 void *buffer, size_t buffer_size);
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
int mpd_recv_albumart(struct mpd_connection *connection, void *buffer, size_t buffer_size)
int mpd_run_albumart(struct mpd_connection *connection, const char *uri, unsigned offset, void *buffer, size_t buffer_size)
bool mpd_send_albumart(struct mpd_connection *connection, const char *uri, unsigned offset)