aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/job_queue.h
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-10 08:44:17 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-10 08:44:17 +0000
commit1061c878a9e342424e8204aba71eb3b532850fd7 (patch)
tree5a94e281717e7d5b2b2d6815b1f43176ac0ae237 /Source/charon/job_queue.h
parented7634e696b8b96efb14c959865b9e964b843cdb (diff)
downloadstrongswan-1061c878a9e342424e8204aba71eb3b532850fd7.tar.bz2
strongswan-1061c878a9e342424e8204aba71eb3b532850fd7.tar.xz
- linked_list, event_queue, send_queue and job_queue returns now
count directly
Diffstat (limited to 'Source/charon/job_queue.h')
-rw-r--r--Source/charon/job_queue.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/job_queue.h b/Source/charon/job_queue.h
index a2ddc2529..b47964a78 100644
--- a/Source/charon/job_queue.h
+++ b/Source/charon/job_queue.h
@@ -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