readpicture.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_READPICTURE_H
#define MPD_READPICTURE_H
#include "compiler.h"
#include <stdbool.h>
#include <stddef.h>
struct mpd_connection;
#ifdef __cplusplus
extern "C" {
#endif
bool
mpd_send_readpicture(struct mpd_connection *connection, const char *uri, unsigned offset);
int
mpd_recv_readpicture(struct mpd_connection *connection, void *buffer, size_t buffer_size);
int
mpd_run_readpicture(struct mpd_connection *connection,
const char *uri, unsigned offset,
void *buffer, size_t buffer_size);
#ifdef __cplusplus
}
#endif
#endif
mpd_run_readpicture
int mpd_run_readpicture(struct mpd_connection *connection, const char *uri, unsigned offset, void *buffer, size_t buffer_size)
mpd_send_readpicture
bool mpd_send_readpicture(struct mpd_connection *connection, const char *uri, unsigned offset)
mpd_recv_readpicture
int mpd_recv_readpicture(struct mpd_connection *connection, void *buffer, size_t buffer_size)
mpd_connection