|
myMPD
Internal API documentation
|
myMPD channel API More...
#include "src/lib/mympd_state.h"

Go to the source code of this file.
Functions | |
| sds | mympd_api_channel_list (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
| sds | mympd_api_channel_messages_read (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
myMPD channel API
| sds mympd_api_channel_list | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Returns a list of all MPD channels
| partition_state | pointer to partition_state |
| buffer | sds string to append response |
| request_id | jsonrpc id |
| sds mympd_api_channel_messages_read | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Returns a list of all messages in all subscribed channels
| partition_state | pointer to partition_state |
| buffer | sds string to append response |
| request_id | jsonrpc id |