X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/ec9c046264b6c4ee76e2d08cf46ee928b026fe74..5dc19ffd92349be8525592cf78fb267e2f067a86:/lib/client-stubs.h diff --git a/lib/client-stubs.h b/lib/client-stubs.h index 8a4ece5..0d3d727 100644 --- a/lib/client-stubs.h +++ b/lib/client-stubs.h @@ -377,6 +377,17 @@ int disorder_playlist_unlock(disorder_client *c); */ int disorder_playlists(disorder_client *c, char ***playlistsp, int *nplaylistsp); +/** @brief Get all the preferences for a track + * + * + * + * @param c Client + * @param track Track name + * @param prefsp Track preferences + * @return 0 on success, non-0 on error + */ +int disorder_prefs(disorder_client *c, const char *track, struct kvp **prefsp); + /** @brief List the queue * * @@ -525,6 +536,17 @@ int disorder_scratch(disorder_client *c, const char *id); */ int disorder_schedule_del(disorder_client *c, const char *event); +/** @brief Get the details of scheduled event + * + * + * + * @param c Client + * @param id Event ID + * @param actiondatap Details of event + * @return 0 on success, non-0 on error + */ +int disorder_schedule_get(disorder_client *c, const char *id, struct kvp **actiondatap); + /** @brief List scheduled events * * This just lists IDs. Use 'schedule-get' to retrieve more detail