|
myMPD
Internal API documentation
|
myMPD mounts API More...
#include "compile_time.h"#include "src/mympd_api/mounts.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_mounts_list (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
| sds | mympd_api_mounts_urlhandler_list (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
| sds | mympd_api_mounts_neighbor_list (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
myMPD mounts API
| sds mympd_api_mounts_list | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Prints the list of mounted mpd uris as jsonrpc response
| partition_state | pointer to partition state |
| buffer | already allocated sds string to append the response |
| request_id | jsonrpc request id |
| sds mympd_api_mounts_neighbor_list | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Prints the list of neighbors as jsonrpc response
| partition_state | pointer to partition state |
| buffer | already allocated sds string to append the response |
| request_id | jsonrpc request id |
| sds mympd_api_mounts_urlhandler_list | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Prints the list of url handlers as jsonrpc response
| partition_state | pointer to partition state |
| buffer | already allocated sds string to append the response |
| request_id | jsonrpc request id |