[−][src]Function dqcsim::bindings::dqcs_cq_next
#[no_mangle]pub extern "C" fn dqcs_cq_next(cq: dqcs_handle_t) -> dqcs_return_tAdvances an ArbCmd queue to the next command.
Use the dqcs_arb_* and dqcs_cmd_* interfaces to read out the command
before calling this function.
To iterate over a queue in C, use the following snippit:
for (; dqcs_cq_len(queue) > 0; dqcs_cq_next(queue)) {
dqcs_cmd_...(queue, ...)
dqcs_arb_...(queue, ...)
}