summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-18 17:27:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-18 17:27:41 +0100
commit6ffe233f9442792a0e8e52167a01b76eabd83be9 (patch)
tree37a461845d9395c2290bbde73c3c7f95a7d3a37f /source3/include
parentbfbb0fb17f4eedb8f22d0694c5d4a3b82dfe189b (diff)
parent0dbd3968626445b4dcb00307e45206b37dd0e8ad (diff)
downloadsamba-6ffe233f9442792a0e8e52167a01b76eabd83be9.tar.gz
samba-6ffe233f9442792a0e8e52167a01b76eabd83be9.tar.bz2
samba-6ffe233f9442792a0e8e52167a01b76eabd83be9.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_req.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/async_req.h b/source3/include/async_req.h
index 1b8dbf3346..3907a08f67 100644
--- a/source3/include/async_req.h
+++ b/source3/include/async_req.h
@@ -150,4 +150,11 @@ bool async_req_enqueue(struct async_req_queue *queue,
struct async_req *req,
void (*trigger)(struct async_req *req));
+bool _async_req_setup(TALLOC_CTX *mem_ctx, struct async_req **preq,
+ void *pstate, size_t state_size, const char *typename);
+
+#define async_req_setup(_mem_ctx, _preq, _pstate, type) \
+ _async_req_setup((_mem_ctx), (_preq), (_pstate), sizeof(type), #type)
+
+
#endif