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

mpd_pure enum mpd_error mpd_async_get_error ( const struct mpd_async async  ) 

After an error has occurred, this function returns the error code. If no error has occurred, it returns MPD_ERROR_SUCCESS.

Definition at line 98 of file async.c.

References mpd_error_info::code, mpd_async::error, and mpd_async_get_error().

Referenced by mpd_async_get_error().

      assert(async != NULL);

      return async->error.code;

Generated by  Doxygen 1.6.0   Back to index