| 4809 | } |
| 4810 | |
| 4811 | void |
| 4812 | ghb_remove_job(gint unique_id) |
| 4813 | { |
| 4814 | hb_job_t * job; |
| 4815 | gint ii; |
| 4816 | |
| 4817 | // Multiples passes all get the same id |
| 4818 | // remove them all. |
| 4819 | // Go backwards through list, so reordering doesn't screw me. |
| 4820 | ii = hb_count(h_queue) - 1; |
| 4821 | while ((job = hb_job(h_queue, ii--)) != NULL) |
| 4822 | { |
| 4823 | if (job->sequence_id == unique_id) |
| 4824 | hb_rem(h_queue, job); |
| 4825 | } |
| 4826 | } |
| 4827 | |
| 4828 | void |
| 4829 | ghb_start_queue (void) |
no test coverage detected