summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-02 12:03:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:30 -0500
commiteaab3ed2d25fbd9beb2675eb8a45fcb1821fc520 (patch)
tree1551d4be5ba707150eb1c3350a80f9bdbddb744e /source4/librpc/rpc/dcerpc.h
parentb990e9a97b02cec9f012bacc6bb266a0403f6792 (diff)
downloadsamba-eaab3ed2d25fbd9beb2675eb8a45fcb1821fc520.tar.gz
samba-eaab3ed2d25fbd9beb2675eb8a45fcb1821fc520.tar.bz2
samba-eaab3ed2d25fbd9beb2675eb8a45fcb1821fc520.zip
r2185: add a callback function to the dcerpc async API
also add a demonstration of its use in the netlogon async example (This used to be commit f2a0438c66b999189c1a2ad726e91efd0748eb90)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r--source4/librpc/rpc/dcerpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 1443e10927..0ec1abf55d 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -166,4 +166,9 @@ struct rpc_request {
size_t struct_size;
TALLOC_CTX *mem_ctx;
} ndr;
+
+ struct {
+ void (*callback)(struct rpc_request *);
+ void *private;
+ } async;
};