summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@samba.org>2019-11-18 14:01:52 +0100
committerAndrew Bartlett <abartlet@samba.org>2020-04-08 22:23:05 +0000
commit03f79a3bd71bc7a0a401d5f19560e831251d32b7 (patch)
tree8a15bcfb6d0c1d50277ded4c626c69887c8a06ac /librpc
parentbce570cfd751fe2348e62cd8e06d64760d769611 (diff)
downloadsamba-03f79a3bd71bc7a0a401d5f19560e831251d32b7.tar.gz
s3:rpc_server: Improve local dispatching
Craft core structures to dispatch local calls in the same way as remote ones, removing the special handling in the autogenerated code. This is also necessary to drop s3 rpc handles implementation. Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Apr 8 22:23:05 UTC 2020 on sn-devel-184
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/dcesrv_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/rpc/dcesrv_core.h b/librpc/rpc/dcesrv_core.h
index 3f2b7676e8d..c1234980b82 100644
--- a/librpc/rpc/dcesrv_core.h
+++ b/librpc/rpc/dcesrv_core.h
@@ -69,7 +69,7 @@ struct dcesrv_interface {
/* the local dispatch function for the chosen interface.
*/
- NTSTATUS (*local)(void *p, int opnum, TALLOC_CTX *, const DATA_BLOB *in, DATA_BLOB *out);
+ NTSTATUS (*local)(struct dcesrv_call_state *, TALLOC_CTX *, void *);
/* for any private use by the interface code */
const void *private_data;