myMPD
Internal API documentation
Loading...
Searching...
No Matches
queue.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3 myMPD (c) 2018-2025 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
11#ifndef MYMPD_MPD_CLIENT_QUEUE_H
12#define MYMPD_MPD_CLIENT_QUEUE_H
13
14#include "src/lib/mympd_state.h"
15
16bool mympd_client_queue_play_newly_inserted(struct t_partition_state *partition_state, sds *error);
17bool mympd_client_queue_check_start_play(struct t_partition_state *partition_state, bool play, sds *error);
18bool mympd_client_queue_clear(struct t_partition_state *partition_state, sds *error);
19void mympd_client_queue_status_update(struct t_partition_state *partition_state);
20sds mympd_client_queue_status_print(struct t_partition_state *partition_state, struct t_cache *album_cache, sds buffer);
21
22#endif
bool mympd_client_queue_check_start_play(struct t_partition_state *partition_state, bool play, sds *error)
Definition queue.c:56
sds mympd_client_queue_status_print(struct t_partition_state *partition_state, struct t_cache *album_cache, sds buffer)
Definition queue.c:87
void mympd_client_queue_status_update(struct t_partition_state *partition_state)
Definition queue.c:68
bool mympd_client_queue_clear(struct t_partition_state *partition_state, sds *error)
Definition queue.c:25
bool mympd_client_queue_play_newly_inserted(struct t_partition_state *partition_state, sds *error)
Definition queue.c:36
Central myMPD state for the mympd_api thread.
Definition cache_rax.h:22
Definition mympd_state.h:114