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

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

#include "dist/sds/sds.h"
#include "src/lib/fields.h"
#include "src/lib/jukebox.h"
#include "src/lib/list/list.h"
Include dependency graph for jukebox_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_jukebox_state

Functions

void jukebox_state_default (struct t_jukebox_state *jukebox_state)
void jukebox_state_copy (struct t_jukebox_state *src, struct t_jukebox_state *dst)
void jukebox_state_free (struct t_jukebox_state *jukebox_state)

Detailed Description

Central myMPD state for the mympd_api thread.

Function Documentation

◆ jukebox_state_copy()

void jukebox_state_copy ( struct t_jukebox_state * src,
struct t_jukebox_state * dst )

Copies the jukebox settings

Parameters
srcsource
dstdestination

◆ jukebox_state_default()

void jukebox_state_default ( struct t_jukebox_state * jukebox_state)

Sets jukebox state defaults

Parameters
jukebox_statepointer to t_jukebox_state struct

◆ jukebox_state_free()

void jukebox_state_free ( struct t_jukebox_state * jukebox_state)

Frees the t_jukebox_state struct

Parameters
jukebox_statepointer to t_jukebox_state struct