The branch, master has been updated via ce60e8d... librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*() from 1ab17f1... s3-ads: Remove unused wrapper and make function static
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit ce60e8d69735bc2d5c6f776c84dea2e17dae95ac Author: Stefan Metzmacher <me...@samba.org> Date: Wed Aug 18 15:47:15 2010 +0200 librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*() metze ----------------------------------------------------------------------- Summary of changes: librpc/rpc/binding_handle.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 153d7d1..75b2ded 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -311,6 +311,11 @@ struct tevent_req *dcerpc_binding_handle_call_send(TALLOC_CTX *mem_ctx, state->push->flags |= LIBNDR_FLAG_NDR64; } + if (h->ops->do_ndr_print) { + h->ops->do_ndr_print(h, NDR_IN | NDR_SET_VALUES, + state->r_ptr, state->call); + } + /* push the structure into a blob */ ndr_err = state->call->ndr_push(state->push, NDR_IN, state->r_ptr); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { @@ -401,6 +406,11 @@ static void dcerpc_binding_handle_call_done(struct tevent_req *subreq) return; } + if (h->ops->do_ndr_print) { + h->ops->do_ndr_print(h, NDR_OUT, + state->r_ptr, state->call); + } + if (h->ops->ndr_validate_out) { error = h->ops->ndr_validate_out(h, state->pull, -- Samba Shared Repository