From 4e4afdb94685388f56061a5cc188a5f5b8e1ae52 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Jan 2005 10:29:43 +0000 Subject: 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) --- source4/libcli/composite/composite.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/libcli/composite/composite.h') diff --git a/source4/libcli/composite/composite.h b/source4/libcli/composite/composite.h index 7b9477a9425..6bffc632115 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 *); -- cgit