s3-winbind: only pass needed args to child_read_request
authorDavid Disseldorp <ddiss@samba.org>
Thu, 16 Jan 2014 18:00:04 +0000 (19:00 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 20 Jan 2014 11:29:13 +0000 (12:29 +0100)
commit8f3cf00c20415de9b29483f49739d03a45b6532d
tree3b7be48cb30309f1754fcc39702eb3ea3f912128
parentdad72a3b7ae310f8049cd76681d9d9d89ce6da52
s3-winbind: only pass needed args to child_read_request

The socket and request are the only arguments required, the entire
winbind child state structure is not needed.
This allows for the separation of the request and response structures,
which is useful for asynchronous conversion.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_dual.c