libmpdclient 2.22
recv.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_RECV_H
13#define MPD_RECV_H
14
15#include "compiler.h"
16
17#include <stdbool.h>
18#include <stddef.h>
19
20struct mpd_pair;
21struct mpd_connection;
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
37bool
38mpd_recv_binary(struct mpd_connection *connection, void *data, size_t length);
39
47mpd_malloc
48struct mpd_pair *
49mpd_recv_pair(struct mpd_connection *connection);
50
55mpd_malloc
56struct mpd_pair *
57mpd_recv_pair_named(struct mpd_connection *connection, const char *name);
58
64void
65mpd_return_pair(struct mpd_connection *connection, struct mpd_pair *pair);
66
72void
73mpd_enqueue_pair(struct mpd_connection *connection, struct mpd_pair *pair);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
void mpd_enqueue_pair(struct mpd_connection *connection, struct mpd_pair *pair)
bool mpd_recv_binary(struct mpd_connection *connection, void *data, size_t length)
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)
struct mpd_pair * mpd_recv_pair(struct mpd_connection *connection)
const char * name
Definition pair.h:18