- linked_list, event_queue, send_queue and job_queue returns now

count directly
This commit is contained in:
Jan Hutter
2005-11-10 08:44:17 +00:00
parent ed7634e696
commit 1061c878a9
16 changed files with 95 additions and 132 deletions
+2 -3
View File
@@ -40,10 +40,9 @@ struct job_queue_s {
* @brief returns number of jobs in queue
*
* @param job_queue_t calling object
* @param[out] count integer pointer to store the job count in
* @returns SUCCESS if succeeded, FAILED otherwise
* @returns number of items in queue
*/
status_t (*get_count) (job_queue_t *job_queue, int *count);
int (*get_count) (job_queue_t *job_queue);
/**
* @brief get the next job from the queue