path: root/include/queue.h
diff options
authorPablo Neira Ayuso <>2009-01-17 18:24:57 +0100
committerPablo Neira Ayuso <>2009-01-17 18:24:57 +0100
commita63f5181807803ffdd879edca9fd4d73c4be35f3 (patch)
treee25745a983614e4a3a628c8086d5c816dc3d0004 /include/queue.h
parent7f5a53998abfc9b199b713244fe8baf0a7c2b2fe (diff)
ftfw: add ResendQueueSize and deprecate ResendBufferSize clauses
This patch adds ResendQueueSize, which sets the number of objects that can be stored in the resend queue waiting to be confirmed. The ResendBufferSize clause has been deprecated. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/queue.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/queue.h b/include/queue.h
index ef56323..9213b3d 100644
--- a/include/queue.h
+++ b/include/queue.h
@@ -44,6 +44,7 @@ void queue_destroy(struct queue *b);
unsigned int queue_len(const struct queue *b);
int queue_add(struct queue *b, struct queue_node *n);
int queue_del(struct queue_node *n);
+struct queue_node *queue_del_head(struct queue *b);
int queue_in(struct queue *b, struct queue_node *n);
void queue_iterate(struct queue *b,
const void *data,