myMPD
Internal API documentation
Loading...
Searching...
No Matches
stats.c File Reference

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/sds_extras.h"
#include "src/lib/utility.h"
#include "src/mympd_client/errorhandler.h"
Include dependency graph for stats.c:

Functions

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

Detailed Description

myMPD stats API

Function Documentation

◆ mympd_api_stats_get()

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

Get mpd statistics

Parameters
partition_statepointer to partition state
bufferalready allocated sds string to append the response
request_idjsonrpc request id
Returns
pointer to buffer