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

status.h File Reference


Detailed Description

MPD client library.

Do not include this header directly. Use mpd/client.h instead.

Definition in file status.h.

#include <mpd/compiler.h>
#include <stdbool.h>

Go to the source code of this file.

Enumerations

enum  mpd_state { MPD_STATE_UNKNOWN = 0, MPD_STATE_STOP = 1, MPD_STATE_PLAY = 2, MPD_STATE_PAUSE = 3 }

Functions

mpd_malloc struct mpd_statusmpd_recv_status (struct mpd_connection *connection)
mpd_malloc struct mpd_statusmpd_run_status (struct mpd_connection *connection)
bool mpd_send_status (struct mpd_connection *connection)
mpd_malloc struct mpd_statusmpd_status_begin (void)
void mpd_status_feed (struct mpd_status *status, const struct mpd_pair *pair)
void mpd_status_free (struct mpd_status *status)
mpd_pure struct mpd_audio_formatmpd_status_get_audio_format (const struct mpd_status *status)
mpd_pure bool mpd_status_get_consume (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_crossfade (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_elapsed_ms (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_elapsed_time (const struct mpd_status *status)
mpd_pure const char * mpd_status_get_error (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_kbit_rate (const struct mpd_status *status)
mpd_pure float mpd_status_get_mixrampdb (const struct mpd_status *status)
mpd_pure float mpd_status_get_mixrampdelay (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_queue_length (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_queue_version (const struct mpd_status *status)
mpd_pure bool mpd_status_get_random (const struct mpd_status *status)
mpd_pure bool mpd_status_get_repeat (const struct mpd_status *status)
mpd_pure bool mpd_status_get_single (const struct mpd_status *status)
int mpd_status_get_song_id (const struct mpd_status *status)
mpd_pure int mpd_status_get_song_pos (const struct mpd_status *status)
mpd_pure enum mpd_state mpd_status_get_state (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_total_time (const struct mpd_status *status)
mpd_pure unsigned mpd_status_get_update_id (const struct mpd_status *status)
mpd_pure int mpd_status_get_volume (const struct mpd_status *status)


Generated by  Doxygen 1.6.0   Back to index