myMPD
Internal API documentation
Loading...
Searching...
No Matches
stickerdb_state.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_STICKERDB_STATE_H
12#define MYMPD_STICKERDB_STATE_H
13
14#include "dist/sds/sds.h"
17
22 struct t_config *config;
24 //mpd connection
25 struct mpd_connection *conn;
27 sds name;
29};
30
34void stickerdb_state_default(struct t_stickerdb_state *stickerdb, struct t_config *config);
35void stickerdb_state_free(struct t_stickerdb_state *stickerdb);
36
37#endif
Central myMPD configuration definitions.
Central myMPD mpd state for the mympd_api thread.
mympd_mpd_conn_states
Definition mympd_mpd_state.h:22
void stickerdb_state_default(struct t_stickerdb_state *stickerdb, struct t_config *config)
Definition stickerdb_state.c:23
void stickerdb_state_free(struct t_stickerdb_state *stickerdb)
Definition stickerdb_state.c:35
Definition config_def.h:22
Definition mympd_mpd_state.h:56
Definition stickerdb_state.h:21
bool * repopulate_pfds
Pointer to repopulate state in mympd_state struct.
Definition stickerdb_state.h:28
struct t_config * config
pointer to static config
Definition stickerdb_state.h:22
sds name
name for logging
Definition stickerdb_state.h:27
struct t_mpd_state * mpd_state
pointer to shared mpd state
Definition stickerdb_state.h:23
struct mpd_connection * conn
mpd connection object from libmpdclient
Definition stickerdb_state.h:25
enum mympd_mpd_conn_states conn_state
mpd connection state
Definition stickerdb_state.h:26