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-2026 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
10
11#ifndef MYMPD_MPD_CLIENT_QUEUE_H
12#define MYMPD_MPD_CLIENT_QUEUE_H
13
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:55
sds mympd_client_queue_status_print(struct t_partition_state *partition_state, struct t_cache *album_cache, sds buffer)
Definition queue.c:86
void mympd_client_queue_status_update(struct t_partition_state *partition_state)
Definition queue.c:67
bool mympd_client_queue_clear(struct t_partition_state *partition_state, sds *error)
Definition queue.c:24
bool mympd_client_queue_play_newly_inserted(struct t_partition_state *partition_state, sds *error)
Definition queue.c:35
Central myMPD state for the mympd_api thread.
Definition cache_rax.h:22
Definition partition_state.h:27