myMPD
Internal API documentation
Loading...
Searching...
No Matches
partitions.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_PARTITIONS_H
12#define MYMPD_MPD_CLIENT_PARTITIONS_H
13
15
16bool partitions_connect(struct t_mympd_state *mympd_state, struct t_partition_state *partition_state);
17struct t_partition_state *partitions_get_by_name(struct t_mympd_state *mympd_state, const char *name);
18void partitions_list_clear(struct t_mympd_state *mympd_state);
19bool partitions_populate(struct t_mympd_state *mympd_state);
20
21#endif
void partitions_list_clear(struct t_mympd_state *mympd_state)
Definition partitions.c:143
bool partitions_populate(struct t_mympd_state *mympd_state)
Definition partitions.c:160
bool partitions_connect(struct t_mympd_state *mympd_state, struct t_partition_state *partition_state)
Definition partitions.c:47
struct t_partition_state * partitions_get_by_name(struct t_mympd_state *mympd_state, const char *name)
Definition partitions.c:128
Central myMPD state for the mympd_api thread.
Definition mympd_state.h:31
Definition partition_state.h:27
sds name
partition name
Definition partition_state.h:54