summaryrefslogtreecommitdiff
path: root/source4/libcli/composite/composite.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-15 10:29:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:50 -0500
commit4e4afdb94685388f56061a5cc188a5f5b8e1ae52 (patch)
treea97b13ff0f76a21342981ca0197ca7c77426c95f /source4/libcli/composite/composite.h
parent21aafc3536cb8a172805f0dd5d23b100f1ecb493 (diff)
downloadsamba-4e4afdb94685388f56061a5cc188a5f5b8e1ae52.tar.gz
samba-4e4afdb94685388f56061a5cc188a5f5b8e1ae52.tar.bz2
samba-4e4afdb94685388f56061a5cc188a5f5b8e1ae52.zip
r4754: tidied up the composite function infrastructure to make it easier to
have composite functions that are not made up of functions that operate on smbcli_request structures. (This used to be commit 4f6055b4fb7e287a29544ff1ca4e22f698efc478)
Diffstat (limited to 'source4/libcli/composite/composite.h')
-rw-r--r--source4/libcli/composite/composite.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libcli/composite/composite.h b/source4/libcli/composite/composite.h
index 7b9477a942..6bffc63211 100644
--- a/source4/libcli/composite/composite.h
+++ b/source4/libcli/composite/composite.h
@@ -37,7 +37,7 @@ struct smbcli_composite {
uint16_t stage;
/* the currently running sub-request */
- struct smbcli_request *req;
+ void *req;
/* the current requests parameter block */
void *req_parms;
@@ -51,6 +51,9 @@ struct smbcli_composite {
/* status code when finished */
NTSTATUS status;
+ /* the event context we are using */
+ struct event_context *event_ctx;
+
/* information on what to do on completion */
struct {
void (*fn)(struct smbcli_composite *);