diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-29 08:08:03 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-29 08:08:03 +0000 |
commit | df3c59d0889a337eff9f994e92a5dc165ba1729f (patch) | |
tree | 7973747444155ea669e3f2dc1177b9b2eb3fc8a1 /Source/charon/queues/send_queue.h | |
parent | ed37dee61daf5bb272c04b79787da282abaa9447 (diff) | |
download | strongswan-df3c59d0889a337eff9f994e92a5dc165ba1729f.tar.bz2 strongswan-df3c59d0889a337eff9f994e92a5dc165ba1729f.tar.xz |
- changed allocation behavior
Diffstat (limited to 'Source/charon/queues/send_queue.h')
-rw-r--r-- | Source/charon/queues/send_queue.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/charon/queues/send_queue.h b/Source/charon/queues/send_queue.h index f023f29af..646d7adc9 100644 --- a/Source/charon/queues/send_queue.h +++ b/Source/charon/queues/send_queue.h @@ -33,7 +33,9 @@ typedef struct send_queue_t send_queue_t; * @brief Send-Queue * * Although the send-queue is based on a linked_list_t - * all access functions are thread-save implemented + * all access functions are thread-save implemented. + * + * @ingroup queues */ struct send_queue_t { @@ -54,7 +56,7 @@ struct send_queue_t { * After using, the returned packet has to get destroyed by the caller. * * @param send_queue_t calling object - * @param[out] packet pointer to a packet_t pointer where to packet is returned to + * @return next packet from the queue */ packet_t *(*get) (send_queue_t *send_queue); @@ -77,8 +79,7 @@ struct send_queue_t { * that no thread is going to add or get a packet from the send_queue * after calling this function. * - * @param send_queue_t calling object - * @returns SUCCESS if succeeded, FAILED otherwise + * @param send_queue_t calling object */ void (*destroy) (send_queue_t *send_queue); }; @@ -87,6 +88,8 @@ struct send_queue_t { * @brief Creates an empty send_queue_t. * * @return send_queue_t empty send_queue_t + * + * @ingroup queues */ send_queue_t *send_queue_create(); |