connection.h   connection.h 
skipping to change at line 87 skipping to change at line 87
/** /**
* Opens a new connection to a MPD server. Both the name server * Opens a new connection to a MPD server. Both the name server
* lookup and the connect() call are done synchronously. After this * lookup and the connect() call are done synchronously. After this
* function has returned, you should check if the connection was * function has returned, you should check if the connection was
* successful with mpd_connection_get_error(). * successful with mpd_connection_get_error().
* *
* @param host the server's host name, IP address or Unix socket path. * @param host the server's host name, IP address or Unix socket path.
* If the resolver returns more than one IP address for a host name, * If the resolver returns more than one IP address for a host name,
* this functions tries all of them until one accepts the connection. * this functions tries all of them until one accepts the connection.
* NULL is allowed here, which will connect to the default host. * NULL is allowed here, which will connect to the default host
* @param port the TCP port to connect to, 0 for default port. If * (using the MPD_HOST environment variable if present).
* "host" is a Unix socket path, this parameter is ignored. * @param port the TCP port to connect to, 0 for default port (using
* the MPD_PORT environment variable if present). If "host" is a Unix
* socket path, this parameter is ignored.
* @param timeout_ms the timeout in milliseconds, 0 for the default * @param timeout_ms the timeout in milliseconds, 0 for the default
* timeout; you may modify it later with mpd_connection_set_timeout() * timeout (the environment variable MPD_TIMEOUT may specify a timeout
* in seconds); you may modify it later with
* mpd_connection_set_timeout()
* @return a mpd_connection object (which may have failed to connect), * @return a mpd_connection object (which may have failed to connect),
* or NULL on out-of-memory * or NULL on out-of-memory
*/ */
mpd_malloc mpd_malloc
struct mpd_connection * struct mpd_connection *
mpd_connection_new(const char *host, unsigned port, unsigned timeout_ms); mpd_connection_new(const char *host, unsigned port, unsigned timeout_ms);
/** /**
* Creates a #mpd_connection object based on an existing asynchronous * Creates a #mpd_connection object based on an existing asynchronous
* MPD connection. You should not continue to use the #mpd_async * MPD connection. You should not continue to use the #mpd_async
 End of changes. 2 change blocks. 
4 lines changed or deleted 8 lines changed or added


 song.h   song.h 
skipping to change at line 112 skipping to change at line 112
/** /**
* Returns the duration of this song in seconds. 0 means the duration * Returns the duration of this song in seconds. 0 means the duration
* is unknown. * is unknown.
*/ */
mpd_pure mpd_pure
unsigned unsigned
mpd_song_get_duration(const struct mpd_song *song); mpd_song_get_duration(const struct mpd_song *song);
/** /**
* Returns the start of the virtual song within the physical file in
* seconds.
*/
mpd_pure
unsigned
mpd_song_get_start(const struct mpd_song *song);
/**
* Returns the end of the virtual song within the physical file in
* seconds. Zero means that the physical song file is played to the
* end.
*/
mpd_pure
unsigned
mpd_song_get_end(const struct mpd_song *song);
/**
* @return the POSIX UTC time stamp of the last modification, or 0 if * @return the POSIX UTC time stamp of the last modification, or 0 if
* that is unknown * that is unknown
*/ */
mpd_pure mpd_pure
time_t time_t
mpd_song_get_last_modified(const struct mpd_song *song); mpd_song_get_last_modified(const struct mpd_song *song);
/** /**
* Sets the position within the queue. This value is not used for * Sets the position within the queue. This value is not used for
* songs which are not in the queue. * songs which are not in the queue.
 End of changes. 1 change blocks. 
0 lines changed or deleted 17 lines changed or added


 version.h   version.h 
skipping to change at line 39 skipping to change at line 39
/*! \file /*! \file
* \brief MPD client library * \brief MPD client library
* *
* Do not include this header directly. Use mpd/client.h instead. * Do not include this header directly. Use mpd/client.h instead.
*/ */
#ifndef MPD_VERSION_H #ifndef MPD_VERSION_H
#define MPD_VERSION_H #define MPD_VERSION_H
#define LIBMPDCLIENT_MAJOR_VERSION 2 #define LIBMPDCLIENT_MAJOR_VERSION 2
#define LIBMPDCLIENT_MINOR_VERSION 2 #define LIBMPDCLIENT_MINOR_VERSION 3
#define LIBMPDCLIENT_PATCH_VERSION 0 #define LIBMPDCLIENT_PATCH_VERSION 0
/** /**
* Preprocessor macro which allows you to check which version of * Preprocessor macro which allows you to check which version of
* libmpdclient you are compiling with. It can be used in * libmpdclient you are compiling with. It can be used in
* preprocessor directives. * preprocessor directives.
* *
* @return true if this libmpdclient version equals or is newer than * @return true if this libmpdclient version equals or is newer than
* the specified version number * the specified version number
* @since libmpdclient 2.1 * @since libmpdclient 2.1
 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/