|
myMPD
Internal API documentation
|
Central myMPD partition state for the mympd_api thread. More...
#include "compile_time.h"#include "src/lib/config/partition_state.h"#include "src/lib/mem.h"#include "src/lib/sds/sds_extras.h"#include "src/lib/sds/sds_file.h"#include "src/lib/timer.h"#include "src/mympd_client/presets.h"#include <string.h>
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 ) |
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 |