recv.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-2-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_RECV_H
#define MPD_RECV_H
#include "compiler.h"
#include <stdbool.h>
#include <stddef.h>
struct mpd_pair;
struct mpd_connection;
#ifdef __cplusplus
extern "C" {
#endif
bool
mpd_recv_binary(struct mpd_connection *connection, void *data, size_t length);
mpd_malloc
struct mpd_pair *
mpd_recv_pair(struct mpd_connection *connection);
mpd_malloc
struct mpd_pair *
mpd_recv_pair_named(struct mpd_connection *connection, const char *name);
void
mpd_return_pair(struct mpd_connection *connection, struct mpd_pair *pair);
void
mpd_enqueue_pair(struct mpd_connection *connection, struct mpd_pair *pair);
#ifdef __cplusplus
}
#endif
#endif
mpd_enqueue_pair
void mpd_enqueue_pair(struct mpd_connection *connection, struct mpd_pair *pair)
mpd_recv_binary
bool mpd_recv_binary(struct mpd_connection *connection, void *data, size_t length)
mpd_recv_pair_named
struct mpd_pair * mpd_recv_pair_named(struct mpd_connection *connection, const char *name)
mpd_return_pair
void mpd_return_pair(struct mpd_connection *connection, struct mpd_pair *pair)
mpd_recv_pair
struct mpd_pair * mpd_recv_pair(struct mpd_connection *connection)
mpd_connection
mpd_pair
Definition pair.h:16
mpd_pair::name
const char * name
Definition pair.h:18