myMPD
Internal API documentation
Loading...
Searching...
No Matches
state.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_WORKER_UTILITY_H
12#define MYMPD_MPD_WORKER_UTILITY_H
13
14#include "src/lib/api.h"
15#include "src/lib/mympd_state.h"
16
34
35void mympd_worker_state_free(struct t_mympd_worker_state *mympd_worker_state);
36#endif
myMPD API handling
Central myMPD state for the mympd_api thread.
void mympd_worker_state_free(struct t_mympd_worker_state *mympd_worker_state)
Definition state.c:21
Definition cache_rax.h:22
Definition config_def.h:22
Definition mympd_state.h:65
Definition fields.h:20
Definition state.h:20
struct t_stickerdb_state * stickerdb
pointer to the stickerdb state
Definition state.h:30
struct t_config * config
pointer to myMPD config
Definition state.h:27
struct t_mympd_mpd_tags smartpls_generate_tag_types
generate smart playlists for each value for this tag
Definition state.h:24
struct t_cache * album_cache
the album cache, use it only with a read lock
Definition state.h:32
bool tag_disc_empty_is_first
handle empty disc tag as disc one for albums
Definition state.h:29
bool mympd_only
true = no mpd connection required
Definition state.h:31
sds smartpls_sort
smart playlists sort tag
Definition state.h:22
bool smartpls
smart playlists enabled
Definition state.h:21
sds smartpls_prefix
prefix for smart playlist names
Definition state.h:23
struct t_partition_state * partition_state
pointer to the partition state to work (default partition for worker threads)
Definition state.h:25
struct t_mpd_state * mpd_state
pointer to mpd shared state
Definition state.h:26
struct t_work_request * request
work request from msg queue
Definition state.h:28
Definition mympd_state.h:114
Definition mympd_state.h:166
Definition api.h:312