summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-04 11:28:40 +0100
committerVolker Lendecke <vl@samba.org>2009-01-04 16:42:40 +0100
commit611f0d7ee607bad65b7a40ba2f0195ba987f1cab (patch)
tree68c46c261710cbd1e102c59029d5f50107be4963 /source3/include
parentebacce2efe6dbb27a9e7962597da8ef783473f6a (diff)
downloadsamba-611f0d7ee607bad65b7a40ba2f0195ba987f1cab.tar.gz
samba-611f0d7ee607bad65b7a40ba2f0195ba987f1cab.tar.bz2
samba-611f0d7ee607bad65b7a40ba2f0195ba987f1cab.zip
Add an async queueing mechanism
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_req.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/async_req.h b/source3/include/async_req.h
index bbe52da723..1b8dbf3346 100644
--- a/source3/include/async_req.h
+++ b/source3/include/async_req.h
@@ -141,5 +141,13 @@ struct async_req *async_wait_send(TALLOC_CTX *mem_ctx,
NTSTATUS async_wait_recv(struct async_req *req);
+struct async_req_queue;
+
+struct async_req_queue *async_req_queue_init(TALLOC_CTX *mem_ctx);
+
+bool async_req_enqueue(struct async_req_queue *queue,
+ struct event_context *ev,
+ struct async_req *req,
+ void (*trigger)(struct async_req *req));
#endif