summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_queue.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-28 09:46:34 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-09 21:37:40 +0200
commit3c38ec72e74dd60b81964ebf661f5d5af8724968 (patch)
treef61648b45c13805b2206899fc48fd07c343731d6 /lib/tevent/tevent_queue.c
parent1e76662ae6aa77d7b6e9e8a0266fcb1a1320a7fb (diff)
downloadsamba-3c38ec72e74dd60b81964ebf661f5d5af8724968.tar.gz
samba-3c38ec72e74dd60b81964ebf661f5d5af8724968.tar.bz2
samba-3c38ec72e74dd60b81964ebf661f5d5af8724968.zip
tevent: add tevent_queue_running() function
metze
Diffstat (limited to 'lib/tevent/tevent_queue.c')
-rw-r--r--lib/tevent/tevent_queue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tevent/tevent_queue.c b/lib/tevent/tevent_queue.c
index 3715c35e4f..446804c9a5 100644
--- a/lib/tevent/tevent_queue.c
+++ b/lib/tevent/tevent_queue.c
@@ -215,3 +215,8 @@ size_t tevent_queue_length(struct tevent_queue *queue)
{
return queue->length;
}
+
+bool tevent_queue_running(struct tevent_queue *queue)
+{
+ return queue->running;
+}