myMPD
Internal API documentation
Loading...
Searching...
No Matches
channel.h File Reference

myMPD channel API More...

Include dependency graph for channel.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

myMPD channel API

Function Documentation

◆ mympd_api_channel_list()

sds mympd_api_channel_list ( struct t_partition_state * partition_state,
sds buffer,
unsigned request_id )

Returns a list of all MPD channels

Parameters
partition_statepointer to partition_state
buffersds string to append response
request_idjsonrpc id
Returns
pointer to buffer

◆ mympd_api_channel_messages_read()

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

Parameters
partition_statepointer to partition_state
buffersds string to append response
request_idjsonrpc id
Returns
pointer to buffer