Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_pure struct mpd_async* mpd_connection_get_async ( struct mpd_connection connection  )  [read]

Returns the underlying mpd_async object. This can be used to send commands asynchronously. During an asynchronous command, you must not use synchronous mpd_connection functions until the asynchronous response has been finished.

If an error occurs while using mpd_async, you must close the mpd_connection.

Definition at line 332 of file connection.c.

References mpd_connection::async, and mpd_connection_get_async().

Referenced by mpd_connection_get_async().

{
      return connection->async;
}


Generated by  Doxygen 1.6.0   Back to index