libmpd-database.h   libmpd-database.h 
skipping to change at line 160 skipping to change at line 160
*/ */
mpd_Song * mpd_database_get_fileinfo(MpdObj *mi,const char *path); mpd_Song * mpd_database_get_fileinfo(MpdObj *mi,const char *path);
/** /**
* @param mi A #MpdObj * @param mi A #MpdObj
* @param field A #mpd_TagItems * @param field A #mpd_TagItems
* @param value a string that %field needs to match * @param value a string that %field needs to match
* *
* Adds a constraint to the search * Adds a constraint to the search
*/ */
void mpd_database_search_add_constraint(MpdObj *mi, mpd_TagItems field, cha r *value); void mpd_database_search_add_constraint(MpdObj *mi, mpd_TagItems field, con st char *value);
/** /**
* @param mi A #MpdObj * @param mi A #MpdObj
* @param exact a boolean indicating if the search is fuzzy or exact * @param exact a boolean indicating if the search is fuzzy or exact
* *
* Starts a search, you can add "constraints" by calling mpd_database_searc h_add_constraint * Starts a search, you can add "constraints" by calling mpd_database_searc h_add_constraint
* For Example if you want all songs by Eric Clapton you could do: * For Example if you want all songs by Eric Clapton you could do:
* *
* @code * @code
* mpd_database_search_start(mi, TRUE); * mpd_database_search_start(mi, TRUE);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 libmpd-internal.h   libmpd-internal.h 
skipping to change at line 182 skipping to change at line 182
#ifndef HAVE_STRNDUP #ifndef HAVE_STRNDUP
char * strndup (const char *s, size_t n); char * strndup (const char *s, size_t n);
#endif #endif
int mpd_server_get_allowed_commands(MpdObj *mi); int mpd_server_get_allowed_commands(MpdObj *mi);
typedef enum _MpdSearchType { typedef enum _MpdSearchType {
MPD_SEARCH_TYPE_NONE, MPD_SEARCH_TYPE_NONE,
MPD_SEARCH_TYPE_FIND, MPD_SEARCH_TYPE_FIND,
MPD_SEARCH_TYPE_SEARCH, MPD_SEARCH_TYPE_SEARCH,
MPD_SEARCH_TYPE_LIST MPD_SEARCH_TYPE_LIST,
MPD_SEARCH_TYPE_PLAYLIST_FIND,
MPD_SEARCH_TYPE_PLAYLIST_SEARCH
}MpdSearchType; }MpdSearchType;
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added


 libmpd-playlist.h   libmpd-playlist.h 
skipping to change at line 248 skipping to change at line 248
/** /**
* @param mi a #MpdObj * @param mi a #MpdObj
* *
* Commits the queue'd commands in a command list. This is an efficient way of doing alot of add's/removes. * Commits the queue'd commands in a command list. This is an efficient way of doing alot of add's/removes.
* *
* @returns a #MpdError * @returns a #MpdError
*/ */
int mpd_playlist_queue_commit (MpdObj *mi); int mpd_playlist_queue_commit (MpdObj *mi);
MpdData * mpd_playlist_search_commit(MpdObj *mi);
void mpd_playlist_search_add_constraint(MpdObj *mi, mpd_TagItems field, con
st char *value);
void mpd_playlist_search_start(MpdObj *mi, int exact);
/*@}*/ /*@}*/
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added


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


 libmpdclient.h   libmpdclient.h 
/* libmpdclient /* libmpdclient
(c)2003-2007 by Warren Dukes (warren.dukes@gmail.com) (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com)
This project's homepage is: http://www.musicpd.org This project's homepage is: http://www.musicpd.org
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions modification, are permitted provided that the following conditions
are met: are met:
- Redistributions of source code must retain the above copyright - Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer. notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright - Redistributions in binary form must reproduce the above copyright
skipping to change at line 421 skipping to change at line 421
/* recursivel fetches all songs/dir/playlists in "dir* (no metadata is /* recursivel fetches all songs/dir/playlists in "dir* (no metadata is
* returned) */ * returned) */
void mpd_sendListallCommand(mpd_Connection * connection, const char * dir); void mpd_sendListallCommand(mpd_Connection * connection, const char * dir);
/* same as sendListallCommand, but also metadata is returned */ /* same as sendListallCommand, but also metadata is returned */
void mpd_sendListallInfoCommand(mpd_Connection * connection, const char * d ir); void mpd_sendListallInfoCommand(mpd_Connection * connection, const char * d ir);
/* non-recursive version of ListallInfo */ /* non-recursive version of ListallInfo */
void mpd_sendLsInfoCommand(mpd_Connection * connection, const char * dir); void mpd_sendLsInfoCommand(mpd_Connection * connection, const char * dir);
#define MPD_TABLE_ARTIST 0 #define MPD_TABLE_ARTIST MPD_TAG_ITEM_ARTIST
#define MPD_TABLE_ALBUM 1 #define MPD_TABLE_ALBUM MPD_TAG_ITEM_ALBUM
#define MPD_TABLE_TITLE 2 #define MPD_TABLE_TITLE MPD_TAG_ITEM_TITLE
#define MPD_TABLE_FILENAME 3 #define MPD_TABLE_FILENAME MPD_TAG_ITEM_FILENAME
void mpd_sendSearchCommand(mpd_Connection * connection, int table, void mpd_sendSearchCommand(mpd_Connection * connection, int table,
const char * str); const char * str);
void mpd_sendFindCommand(mpd_Connection * connection, int table, void mpd_sendFindCommand(mpd_Connection * connection, int table,
const char * str); const char * str);
/* LIST TAG COMMANDS */ /* LIST TAG COMMANDS */
/* use this function fetch next artist entry, be sure to free the returned /* use this function fetch next artist entry, be sure to free the returned
skipping to change at line 570 skipping to change at line 570
/** /**
* @param connection a #mpd_Connection * @param connection a #mpd_Connection
* *
* returns the next supported command. * returns the next supported command.
* *
* @returns a string, needs to be free'ed * @returns a string, needs to be free'ed
*/ */
char *mpd_getNextCommand(mpd_Connection *connection); char *mpd_getNextCommand(mpd_Connection *connection);
void mpd_sendUrlHandlersCommand(mpd_Connection * connection);
char *mpd_getNextHandler(mpd_Connection * connection);
void mpd_sendTagTypesCommand(mpd_Connection * connection);
char *mpd_getNextTagType(mpd_Connection * connection);
/** /**
* @param connection a MpdConnection * @param connection a MpdConnection
* @param path the path to the playlist. * @param path the path to the playlist.
* *
* List the content, with full metadata, of a stored playlist. * List the content, with full metadata, of a stored playlist.
* *
*/ */
void mpd_sendListPlaylistInfoCommand(mpd_Connection *connection, char *path ); void mpd_sendListPlaylistInfoCommand(mpd_Connection *connection, char *path );
/** /**
skipping to change at line 602 skipping to change at line 610
* starts a search, use mpd_addConstraintSearch to add * starts a search, use mpd_addConstraintSearch to add
* a constraint to the search, and mpd_commitSearch to do the actual search * a constraint to the search, and mpd_commitSearch to do the actual search
*/ */
void mpd_startSearch(mpd_Connection *connection, int exact); void mpd_startSearch(mpd_Connection *connection, int exact);
/** /**
* @param connection a #mpd_Connection * @param connection a #mpd_Connection
* @param type * @param type
* @param name * @param name
*/ */
void mpd_addConstraintSearch(mpd_Connection *connection, int type, char *na me); void mpd_addConstraintSearch(mpd_Connection *connection, int type, const ch ar *name);
/** /**
* @param connection a #mpd_Connection * @param connection a #mpd_Connection
*/ */
void mpd_commitSearch(mpd_Connection *connection); void mpd_commitSearch(mpd_Connection *connection);
/** /**
* @param connection a #mpd_Connection * @param connection a #mpd_Connection
* @param type The type to search for * @param type The type to search for
* *
skipping to change at line 631 skipping to change at line 639
* mpd_startFieldSearch(connection, MPD_TAG_ITEM_ARTIST); * mpd_startFieldSearch(connection, MPD_TAG_ITEM_ARTIST);
* mpd_addConstraintSearch(connection, MPD_TAG_ITEM_GENRE, "jazz") * mpd_addConstraintSearch(connection, MPD_TAG_ITEM_GENRE, "jazz")
* mpd_commitSearch(connection); * mpd_commitSearch(connection);
* @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_sendPlaylistClearCommand(mpd_Connection *connection, char* path);
void mpd_sendPlaylistAddCommand(mpd_Connection *connection,
char *playlist, char* path);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif
 End of changes. 5 change blocks. 
6 lines changed or deleted 21 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/