|
myMPD
Internal API documentation
|
Central myMPD state for the mympd_api thread. More...
#include "compile_time.h"#include "src/lib/config/mympd_mpd_state.h"#include "src/lib/mem.h"#include "src/lib/sds/sds_extras.h"#include <string.h>
Functions | |
| void | mympd_mpd_state_default (struct t_mpd_state *mpd_state, struct t_config *config) |
| void | mympd_mpd_state_copy (struct t_mpd_state *src, struct t_mpd_state *dst) |
| void | mympd_mpd_state_features_default (struct t_mpd_features *feat) |
| void | mympd_mpd_state_features_copy (struct t_mpd_features *src, struct t_mpd_features *dst) |
| void | mympd_mpd_state_free (struct t_mpd_state *mpd_state) |
Central myMPD state for the mympd_api thread.
| void mympd_mpd_state_copy | ( | struct t_mpd_state * | src, |
| struct t_mpd_state * | dst ) |
Copy mpd state
| src | source |
| dst | destination |
| void mympd_mpd_state_default | ( | struct t_mpd_state * | mpd_state, |
| struct t_config * | config ) |
Sets mpd_state defaults.
| mpd_state | pointer to mpd_state |
| config | pointer to static config |
| void mympd_mpd_state_features_copy | ( | struct t_mpd_features * | src, |
| struct t_mpd_features * | dst ) |
Copy mpd state feature flags
| src | source |
| dst | destination |
| void mympd_mpd_state_features_default | ( | struct t_mpd_features * | feat | ) |
Sets all feature states to default
| feat | pointer to mpd feature struct |
| void mympd_mpd_state_free | ( | struct t_mpd_state * | mpd_state | ) |
Frees the t_mpd_state struct
| mpd_state | Pointer to mpd_state |