struct dcesrv_remote_call {
struct dcesrv_call_state *dce_call;
struct dcesrv_remote_private *priv;
- struct dcerpc_binding_handle_call_params params;
};
static NTSTATUS remote_op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
}
rcall->dce_call = dce_call;
rcall->priv = priv;
- rcall->params.r_mem = mem_ctx;
- rcall->params.r_ptr = r;
- rcall->params.in.num_pipes = 0;
- rcall->params.in.pipes = NULL;
- rcall->params.out.num_pipes = 0;
- rcall->params.out.pipes = NULL;
if (priv->c_pipe->conn->flags & DCERPC_DEBUG_PRINT_IN) {
ndr_print_function_debug(call->ndr_print, name, NDR_IN | NDR_SET_VALUES, r);
subreq = dcerpc_binding_handle_call_send(rcall, dce_call->event_ctx,
priv->c_pipe->binding_handle,
NULL, table,
- opnum, &rcall->params);
+ opnum, mem_ctx, r);
if (subreq == NULL) {
DEBUG(0,("dcesrv_remote: call[%s] dcerpc_binding_handle_call_send() failed!\n", name));
return NT_STATUS_NO_MEMORY;