|
myMPD
Internal API documentation
|
myMPD stats API More...
#include "compile_time.h"#include "src/mympd_api/stats.h"#include "src/lib/json/json_print.h"#include "src/lib/json/json_rpc.h"#include "src/lib/sds_extras.h"#include "src/lib/utility.h"#include "src/mympd_client/errorhandler.h"
Functions | |
| sds | mympd_api_stats_get (struct t_partition_state *partition_state, sds buffer, unsigned request_id) |
myMPD stats API
| sds mympd_api_stats_get | ( | struct t_partition_state * | partition_state, |
| sds | buffer, | ||
| unsigned | request_id | ||
| ) |
Get mpd statistics
| partition_state | pointer to partition state |
| buffer | already allocated sds string to append the response |
| request_id | jsonrpc request id |