musicus mpd client
0.1d
Main Page
Modules
Data Structures
Files
Directories
File List
Globals
src
Functions
|
Variables
mpd.c File Reference
#include <stdio.h>
#include "
mpd.h
"
#include <libmpd/libmpd-internal.h>
Functions
gboolean
mpd_is_connected
(MpdObj *obj)
mpd_Song *
mpd_get_current_song
(MpdObj *obj)
mpd_Connection *
mpd_object_get_connection
(MpdObj *obj)
MpdData *
mpd_data_get_next_keep
(MpdData *data)
void
mpd_status_changed_cb
(MpdObj *obj, ChangedStatusType what, gpointer data)
void
mpd_play_state_update
(MpdObj *obj)
int
mpd_get_db_length
()
int
mpd_get_pl_length
()
int
mpd_get_current_song_pos
()
int
mpd_get_current_play_time
()
int
mpd_get_current_song_time
()
int
mpd_get_current_song_string
(char *song, int strlen)
int
mpd_get_current_title_string
(char *title, int strlen)
int
mpd_get_current_album_string
(char *album, int strlen)
int
mpd_get_current_track_string
(char *track, int strlen)
int
mpd_get_current_artist_string
(char *artist, int strlen)
gboolean
mpd_has_current_song_changed
()
gboolean
mpd_has_play_state_changed
()
gboolean
mpd_has_playlist_changed
()
int
mpd_play_state
()
void
msi_fill
(
MpdInfo
*mi)
void
msi_clear
(
MpdInfo
*mi)
Variables
static int
playlist_version
= -1
int
pl_current_song_pos
= -64
int
mpd_current_play_state
= -64
Detailed Description
Author:
Simon Gerber
Date:
2007-12-08 This file provides some functions not provided by libmpd and some convenience wrappers around libmpd functions as well as a skeleton function for the MpdStatusChanged callback.
Variable Documentation
int
mpd_current_play_state
= -64
int
pl_current_song_pos
= -64
int
playlist_version
= -1
[static]
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Defines
Generated on Sat Jan 21 2012 23:34:38 for musicus mpd client by
1.7.4