myMPD
Internal API documentation
|
Request creation helpers. More...
Go to the source code of this file.
Functions | |
bool | mympd_api_request_caches_create (void) |
bool | mympd_api_request_jukebox_restart (const char *partition) |
bool | mympd_api_request_trigger_event_emit (enum trigger_events event, const char *partition, struct t_list *arguments, unsigned long conn_id) |
bool | mympd_api_request_sticker_features (bool feat_sticker, bool feat_advsticker) |
Request creation helpers.
bool mympd_api_request_caches_create | ( | void | ) |
Pushes a MYMPD_API_CACHES_CREATE event to the queue
bool mympd_api_request_jukebox_restart | ( | const char * | partition | ) |
Pushes a MYMPD_API_JUKEBOX_RESTART event to the queue
partition | partition name |
bool mympd_api_request_sticker_features | ( | bool | feat_sticker, |
bool | feat_advsticker | ||
) |
Pushes a INTERNAL_API_STICKER_FEATURES event to the queue
feat_sticker | stickers enabled? |
feat_advsticker | advanced sticker support? |
bool mympd_api_request_trigger_event_emit | ( | enum trigger_events | event, |
const char * | partition, | ||
struct t_list * | arguments, | ||
unsigned long | conn_id | ||
) |
Pushes a INTERNAL_API_TRIGGER_EVENT_EMIT event to the queue
event | trigger event |
partition | partition name |
arguments | List of arguments |
conn_id | Mongoose connection id |