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

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

#include "src/lib/config/stickerdb_state.h"
#include "src/lib/mem.h"
#include "src/lib/sds/sds_extras.h"
#include <string.h>
Include dependency graph for stickerdb_state.c:

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 state for the mympd_api thread.

Function Documentation

◆ stickerdb_state_default()

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

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