libmpd-database.h   libmpd-database.h 
skipping to change at line 50 skipping to change at line 50
* *
* returns a list of all available artists. * returns a list of all available artists.
* *
* @returns a #MpdData list * @returns a #MpdData list
*/ */
MpdData * mpd_database_get_artists (MpdObj *mi); MpdData * mpd_database_get_artists (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Gets the complete datababse, only returns songs * Gets the complete database, only returns songs
* *
* @returns a #MpdData list with songs * @returns a #MpdData list with songs
*/ */
MpdData * mpd_database_get_complete(MpdObj *mi); MpdData * mpd_database_get_complete(MpdObj *mi);
/** /**
*@param mi A #MpdObj *@param mi A #MpdObj
*@param path The path mpd should update. *@param path The path mpd should update.
* *
skipping to change at line 186 skipping to change at line 186
* *
* Commits the search and gathers the result in a #MpdData list. * Commits the search and gathers the result in a #MpdData list.
* *
* @returns a #MpdData list with the search result, or NULL when nothing is found * @returns a #MpdData list with the search result, or NULL when nothing is found
*/ */
MpdData * mpd_database_search_commit(MpdObj *mi); MpdData * mpd_database_search_commit(MpdObj *mi);
/*@}*/ /*@}*/
/** \defgroup databaseSearchStats Database Search Statistics /** \defgroup databaseSearchStats Database Search Statistics
* \ingroup database * \ingroup database
* A extention to the database search, that instead of returning the full r esults. * A extension to the database search, that instead of returning the full r esults.
* Only reports back a few statistics about the result. * Only reports back a few statistics about the result.
* For now Number of Songs are reported and total playtime. * For now Number of Songs are reported and total playtime.
*/ */
/*@{*/ /*@{*/
/*! \var typedef mpd_SearchStat MpdDBStats /*! \var typedef mpd_SearchStat MpdDBStats
\brief A Structure containing numberOfSongs and playTime \brief A Structure containing numberOfSongs and playTime
see #mpd_SearchStats see #mpd_SearchStats
*/ */
skipping to change at line 250 skipping to change at line 250
*/ */
int mpd_database_delete_playlist(MpdObj *mi,char *path); int mpd_database_delete_playlist(MpdObj *mi,char *path);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* @param name The name of the playlist * @param name The name of the playlist
* *
* Saves the current playlist to a file. * Saves the current playlist to a file.
* *
* @returns a #MpdError. #MPD_OK if succesfull, * @returns a #MpdError. #MPD_OK if successful,
* #MPD_DATABASE_PLAYLIST_EXIST when the playlist allready exists. * #MPD_DATABASE_PLAYLIST_EXIST when the playlist already exists.
*/ */
int mpd_database_save_playlist (MpdObj *mi, char *name); int mpd_database_save_playlist (MpdObj *mi, char *name);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* @param playlist the playlist you need the content off. * @param playlist the playlist you need the content of.
* *
* Needs mpd 0.12.0 or higher. * Needs mpd 0.12.0 or higher.
* *
* @returns a #MpdData list * @returns a #MpdData list
*/ */
MpdData *mpd_database_get_playlist_content(MpdObj *mi,char *playlist); MpdData *mpd_database_get_playlist_content(MpdObj *mi,char *playlist);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* @param path a string contains the path of the playlist * @param path a string contains the path of the playlist
 End of changes. 4 change blocks. 
5 lines changed or deleted 5 lines changed or added


 libmpd-internal.h   libmpd-internal.h 
skipping to change at line 161 skipping to change at line 161
/* Internal Data struct functions */ /* Internal Data struct functions */
MpdData * mpd_new_data_struct (void); MpdData * mpd_new_data_struct (void);
MpdData * mpd_new_data_struct_append (MpdData * data); MpdData * mpd_new_data_struct_append (MpdData * data);
MpdData * mpd_data_concatenate (MpdData * const fir st, MpdData * const second); MpdData * mpd_data_concatenate (MpdData * const fir st, MpdData * const second);
MpdData * mpd_data_get_next_real (MpdData * const dat a, int kill_list); MpdData * mpd_data_get_next_real (MpdData * const dat a, int kill_list);
/* more internal stuff*/ /* more internal stuff*/
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Checks if mpd_stats is availible, and updates when needed. * Checks if mpd_stats is available, and updates when needed.
* *
* @returns a #MpdError * @returns a #MpdError
*/ */
int mpd_stats_check(MpdObj *mi); int mpd_stats_check(MpdObj *mi);
int mpd_lock_conn(MpdObj *mi); int mpd_lock_conn(MpdObj *mi);
int mpd_unlock_conn(MpdObj *mi); int mpd_unlock_conn(MpdObj *mi);
/*MpdData * mpd_playlist_sort_artist_list(MpdData *data);*/ /*MpdData * mpd_playlist_sort_artist_list(MpdData *data);*/
MpdData * mpd_misc_sort_tag_list(MpdData *data); MpdData * mpd_misc_sort_tag_list(MpdData *data);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 libmpd-status.h   libmpd-status.h 
skipping to change at line 30 skipping to change at line 30
#ifndef __MPD_LIB_STATUS__ #ifndef __MPD_LIB_STATUS__
#define __MPD_LIB_STATUS__ #define __MPD_LIB_STATUS__
/**\defgroup 20status Status /**\defgroup 20status Status
* Functions to get and modify the status/state of mpd. * Functions to get and modify the status/state of mpd.
*/ */
/*@{*/ /*@{*/
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Checks if there is status information availibe. if not availible, it tri es to fetch it. * Checks if there is status information available. if not available, it tr ies to fetch it.
* This function is called from within libmpd, and shouldn't be called from the program. * This function is called from within libmpd, and shouldn't be called from the program.
* *
* @returns 0 when successful * @returns 0 when successful
*/ */
int mpd_status_check (MpdObj *mi); int mpd_status_check (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Marks the current status invalid, the next time status is needed it will be fetched from mpd. * Marks the current status invalid, the next time status is needed it will be fetched from mpd.
* *
* @returns 0 when successful * @returns 0 when successful
*/ */
int mpd_status_queue_update (MpdObj *mi); int mpd_status_queue_update (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Updates the status field from mpd. * Updates the status field from mpd.
* Call this function every 0.x seconds from the program's main-loop to rec ieve signals when mpd's status has changed. * Call this function every 0.x seconds from the program's main-loop to rec eive signals when mpd's status has changed.
* *
* @returns 0 when succesfull * @returns 0 when succesfull
*/ */
int mpd_status_update (MpdObj *mi); int mpd_status_update (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* @param fvol an float between 0.0 and 1.0 * @param fvol an float between 0.0 and 1.0
* *
* Set the output volume * Set the output volume
skipping to change at line 153 skipping to change at line 153
* @returns The crossfade time in seconds * @returns The crossfade time in seconds
*/ */
int mpd_status_get_crossfade (MpdObj *mi); int mpd_status_get_crossfade (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* @param crossfade_time the time to crossfade in seconds * @param crossfade_time the time to crossfade in seconds
* *
* Sets the crossfade time. 0 to disable crossfade. * Sets the crossfade time. 0 to disable crossfade.
* *
* @returns * @returns 0 when successful
*/ */
int mpd_status_set_crossfade (MpdObj *mi, int cro ssfade_time); int mpd_status_set_crossfade (MpdObj *mi, int cro ssfade_time);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Checks if mpd is updating it's music db. * Checks if mpd is updating it's music db.
* *
* @returns TRUE if mpd is still updating, FALSE if not. * @returns TRUE if mpd is still updating, FALSE if not.
*/ */
int mpd_status_db_is_updating (MpdObj *mi); int mpd_status_db_is_updating (MpdObj *mi);
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* @returns the error message that mpd last reported, on NULL. Needs to be freed. * @returns the error message that mpd last reported, or NULL. Needs to be freed.
*/ */
char * mpd_status_get_mpd_error(MpdObj *mi); char * mpd_status_get_mpd_error(MpdObj *mi);
/*@}*/ /*@}*/
/**\defgroup 20stats Stats /**\defgroup 20stats Stats
* Functions to get mpd statistics * Functions to get mpd statistics
*/ */
/*@{*/ /*@{*/
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added


 libmpd-version.h   libmpd-version.h 
#ifndef LIBMPD_VERSION #ifndef LIBMPD_VERSION
#define LIBMPD_VERSION "0.16.96" #define LIBMPD_VERSION "0.17.0"
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/