myMPD
Internal API documentation
Loading...
Searching...
No Matches
stickerdb_state.h File Reference

Central myMPD stickerdb state for the mympd_api thread. More...

#include "dist/sds/sds.h"
#include "src/lib/config/config_def.h"
#include "src/lib/config/mympd_mpd_state.h"
Include dependency graph for stickerdb_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_stickerdb_state

Functions

void stickerdb_state_default (struct t_stickerdb_state *stickerdb, struct t_config *config)
void stickerdb_state_free (struct t_stickerdb_state *stickerdb)

Detailed Description

Central myMPD stickerdb state for the mympd_api thread.

Function Documentation

◆ stickerdb_state_default()

void stickerdb_state_default ( struct t_stickerdb_state * stickerdb,
struct t_config * config )

Public functions

Sets stickerdb state defaults

Parameters
stickerdbpointer to stickerdb state
configpointer to static config

◆ stickerdb_state_free()

void stickerdb_state_free ( struct t_stickerdb_state * stickerdb)

Frees the t_stickerdb_state struct

Parameters
stickerdbpointer to struct