mpd_pure int mpd_async_get_system_error(const struct mpd_async *async)
bool mpd_async_send_command_v(struct mpd_async *async, const char *command, va_list args)
mpd_malloc struct mpd_async * mpd_async_new(int fd)
bool mpd_async_io(struct mpd_async *async, enum mpd_async_event events)
mpd_pure enum mpd_async_event mpd_async_events(const struct mpd_async *async)
bool mpd_async_set_keepalive(struct mpd_async *async, bool keepalive)
Compiler specific definitions.
mpd_pure enum mpd_error mpd_async_get_error(const struct mpd_async *async)
const mpd_pure char * mpd_async_get_error_message(const struct mpd_async *async)
mpd_pure int mpd_async_get_fd(const struct mpd_async *async)
mpd_sentinel bool mpd_async_send_command(struct mpd_async *async, const char *command,...)
size_t mpd_async_recv_raw(struct mpd_async *async, void *dest, size_t length)
mpd_malloc char * mpd_async_recv_line(struct mpd_async *async)
void mpd_async_free(struct mpd_async *async)