| libmpdclient.h | | libmpdclient.h | |
| | | | |
| skipping to change at line 230 | | skipping to change at line 230 | |
| typedef struct _mpd_Stats { | | typedef struct _mpd_Stats { | |
| int numberOfArtists; | | int numberOfArtists; | |
| int numberOfAlbums; | | int numberOfAlbums; | |
| int numberOfSongs; | | int numberOfSongs; | |
| unsigned long uptime; | | unsigned long uptime; | |
| unsigned long dbUpdateTime; | | unsigned long dbUpdateTime; | |
| unsigned long playTime; | | unsigned long playTime; | |
| unsigned long dbPlayTime; | | unsigned long dbPlayTime; | |
| } mpd_Stats; | | } mpd_Stats; | |
| | | | |
|
| | | typedef struct _mpd_SearchStats { | |
| | | int numberOfSongs; | |
| | | unsigned long playTime; | |
| | | } mpd_SearchStats; | |
| | | | |
| void mpd_sendStatsCommand(mpd_Connection * connection); | | void mpd_sendStatsCommand(mpd_Connection * connection); | |
| | | | |
| mpd_Stats * mpd_getStats(mpd_Connection * connection); | | mpd_Stats * mpd_getStats(mpd_Connection * connection); | |
| | | | |
| void mpd_freeStats(mpd_Stats * stats); | | void mpd_freeStats(mpd_Stats * stats); | |
| | | | |
|
| | | mpd_SearchStats * mpd_getSearchStats(mpd_Connection * connection); | |
| | | | |
| | | void mpd_freeSearchStats(mpd_SearchStats * stats); | |
| | | | |
| /* SONG STUFF */ | | /* SONG STUFF */ | |
| | | | |
| #define MPD_SONG_NO_TIME -1 | | #define MPD_SONG_NO_TIME -1 | |
| #define MPD_SONG_NO_NUM -1 | | #define MPD_SONG_NO_NUM -1 | |
| #define MPD_SONG_NO_ID -1 | | #define MPD_SONG_NO_ID -1 | |
| | | | |
| /* mpd_Song | | /* mpd_Song | |
| * for storing song info returned by mpd | | * for storing song info returned by mpd | |
| */ | | */ | |
| typedef struct _mpd_Song { | | typedef struct _mpd_Song { | |
| | | | |
| skipping to change at line 642 | | skipping to change at line 651 | |
| * @endcode | | * @endcode | |
| * | | * | |
| * mpd_startSearch will return a list of songs (and you need mpd_getNextIn
foEntity) | | * mpd_startSearch will return a list of songs (and you need mpd_getNextIn
foEntity) | |
| * this one will return a list of only one field (the one specified with ty
pe) and you need | | * this one will return a list of only one field (the one specified with ty
pe) and you need | |
| * mpd_getNextTag to get the results | | * mpd_getNextTag to get the results | |
| */ | | */ | |
| void mpd_startFieldSearch(mpd_Connection *connection, int type); | | void mpd_startFieldSearch(mpd_Connection *connection, int type); | |
| | | | |
| void mpd_startPlaylistSearch(mpd_Connection *connection, int exact); | | void mpd_startPlaylistSearch(mpd_Connection *connection, int exact); | |
| | | | |
|
| void mpd_sendPlaylistClearCommand(mpd_Connection *connection, char* path); | | void mpd_startStatsSearch(mpd_Connection *connection); | |
| | | | |
| | | void mpd_sendPlaylistClearCommand(mpd_Connection *connection, char *path); | |
| | | | |
| void mpd_sendPlaylistAddCommand(mpd_Connection *connection, | | void mpd_sendPlaylistAddCommand(mpd_Connection *connection, | |
|
| char *playlist, char* path); | | char *playlist, char *path); | |
| | | | |
| | | void mpd_sendPlaylistMoveCommand(mpd_Connection *connection, | |
| | | char *playlist, int from, int to); | |
| | | | |
| | | void mpd_sendPlaylistDeleteCommand(mpd_Connection *connection, | |
| | | char *playlist, int pos); | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 2 lines changed or deleted | | 19 lines changed or added | |
|