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

mpd_pure enum mpd_error mpd_connection_get_error ( const struct mpd_connection connection  ) 

Returns the libmpdclient error code. MPD_ERROR_SUCCESS means no error occurred.

Definition at line 35 of file error.c.

References mpd_error_info::code, mpd_connection::error, and mpd_connection_get_error().

Referenced by mpd_connection_get_error().

{
      return connection->error.code;
}


Generated by  Doxygen 1.6.0   Back to index