summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-31 16:16:24 +0200
committerVolker Lendecke <vl@samba.org>2009-07-31 17:28:53 +0200
commitf511ccbc429aacff3882e12366bae2aebf9d768a (patch)
treecb3af35ac3cecb8668330c1577673739e37b259b /source3/winbindd/winbindd.h
parenta3bcbd177537e5da437974e64bbd07d88c087fa2 (diff)
downloadsamba-f511ccbc429aacff3882e12366bae2aebf9d768a.tar.gz
samba-f511ccbc429aacff3882e12366bae2aebf9d768a.tar.xz
samba-f511ccbc429aacff3882e12366bae2aebf9d768a.zip
Slightly restructure the async winbind request calling convention
The main loop now allocates the response, this has to be done everywhere
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 804c0afa5d7..e6bf8a5e833 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -55,8 +55,8 @@ struct winbindd_cli_state {
bool privileged; /* Is the client 'privileged' */
TALLOC_CTX *mem_ctx; /* memory per request */
- NTSTATUS (*recv_fn)(struct tevent_req *req, TALLOC_CTX *mem_ctx,
- struct winbindd_response **presp);
+ NTSTATUS (*recv_fn)(struct tevent_req *req,
+ struct winbindd_response *presp);
struct winbindd_request *request; /* Request from client */
struct tevent_queue *out_queue;
struct winbindd_response *response; /* Respose to client */