|
myMPD
Internal API documentation
|
myMPD channel API More...
#include "compile_time.h"#include "src/mympd_api/channel.h"#include "src/lib/api.h"#include "src/lib/json/json_print.h"#include "src/lib/json/json_rpc.h"#include "src/lib/sds_extras.h"#include "src/mympd_client/errorhandler.h"#include <string.h>
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 |