summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-18 15:47:15 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-18 15:57:52 +0200
commitce60e8d69735bc2d5c6f776c84dea2e17dae95ac (patch)
tree111c3d995efac599aa71172aac4e8460a4bbf590 /librpc
parent1ab17f13a27429d34439c0ba3b77685e3a55c2c3 (diff)
downloadsamba-ce60e8d69735bc2d5c6f776c84dea2e17dae95ac.tar.gz
samba-ce60e8d69735bc2d5c6f776c84dea2e17dae95ac.tar.bz2
samba-ce60e8d69735bc2d5c6f776c84dea2e17dae95ac.zip
librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()
metze
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/binding_handle.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c
index 153d7d16a9..75b2dedcb5 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,