Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_malloc struct mpd_status* mpd_run_status ( struct mpd_connection connection  )  [read]

Executes the "status" command and reads the response.

Returns:
the mpd_status object returned by the server, or NULL on error

Definition at line 75 of file cstatus.c.

References mpd_recv_status(), mpd_run_status(), and mpd_send_status().

Referenced by mpd_run_status().

{
      return mpd_run_check(connection) && mpd_send_status(connection)
            ? mpd_recv_status(connection)
            : NULL;
}


Generated by  Doxygen 1.6.0   Back to index