aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-26 09:20:22 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-26 09:22:38 +0100
commit99a263ff20e6b2bbeddbbbc4e0a1acbec1d5dd79 (patch)
tree750faf534c06a202bf1ba3bf5bcd59c19467ed93 /include/osmocore
parent52b4abdcb351830f5493a50c4181ef3947f3feab (diff)
write_queue: Add a method to clear the queue.
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/write_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocore/write_queue.h b/include/osmocore/write_queue.h
index c84000c1..64d4159a 100644
--- a/include/osmocore/write_queue.h
+++ b/include/osmocore/write_queue.h
@@ -38,6 +38,7 @@ struct write_queue {
};
void write_queue_init(struct write_queue *queue, int max_length);
+void write_queue_clear(struct write_queue *queue);
int write_queue_enqueue(struct write_queue *queue, struct msgb *data);
int write_queue_bfd_cb(struct bsc_fd *fd, unsigned int what);