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

bool mpd_run_delete_range ( struct mpd_connection connection,
unsigned  start,
unsigned  end 
)

Shortcut for mpd_send_delete_range() and mpd_response_finish().

Parameters:
connection the connection to MPD
start the start position of the range (including)
end the end position of the range (excluding)
Returns:
true on success, false on error

Definition at line 252 of file queue.c.

References mpd_response_finish(), mpd_run_delete_range(), and mpd_send_delete_range().

Referenced by mpd_run_delete_range().

{
      return mpd_run_check(connection) &&
            mpd_send_delete_range(connection, start, end) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index