|
myMPD
Internal API documentation
|
Central myMPD partition state for the mympd_api thread. More...
#include "dist/sds/sds.h"#include "src/lib/config/config_def.h"#include "src/lib/config/jukebox_state.h"#include "src/lib/config/mympd_mpd_state.h"#include "src/lib/event.h"#include "src/lib/jukebox.h"#include "src/lib/list/list.h"#include <time.h>

Go to the source code of this file.
Data Structures | |
| struct | t_partition_state |
Functions | |
| void | partition_state_default (struct t_partition_state *partition_state, const char *name, struct t_mpd_state *mpd_state, struct t_config *config) |
| void | partition_state_free (struct t_partition_state *partition_state) |
Central myMPD partition state for the mympd_api thread.
| void partition_state_default | ( | struct t_partition_state * | partition_state, |
| const char * | name, | ||
| struct t_mpd_state * | mpd_state, | ||
| struct t_config * | config ) |
Public functions
Sets per partition state defaults
| partition_state | pointer to t_partition_state struct |
| name | partition name |
| mpd_state | pointer to shared mpd state |
| config | pointer to static config |
| void partition_state_free | ( | struct t_partition_state * | partition_state | ) |
Frees the t_partition_state struct
| partition_state | pointer to t_partition_state struct |