summaryrefslogtreecommitdiff
path: root/librpc/rpc
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2019-05-28 12:02:09 +0200
committerSamuel Cabrero <scabrero@sn-devel-184>2020-03-20 15:36:35 +0000
commit42a7e7bcad6959156bd0b8014f4cf619b2e5d14f (patch)
tree07f47b1a8f5c9572a94f92cc370c7b96f660868d /librpc/rpc
parent73e32f5f42b13ef65aff79a203a99e6f2a99763d (diff)
downloadsamba-42a7e7bcad6959156bd0b8014f4cf619b2e5d14f.tar.gz
pidl:NDR/ServerCompat: Generate local dispatching function
To be used in rpcint_binding_handle, prepare to remove legacy api_struct and S3 pidl generated code. Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc/rpc')
-rw-r--r--librpc/rpc/dcesrv_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/librpc/rpc/dcesrv_core.h b/librpc/rpc/dcesrv_core.h
index 74ce956032e..161ed1a9691 100644
--- a/librpc/rpc/dcesrv_core.h
+++ b/librpc/rpc/dcesrv_core.h
@@ -67,6 +67,10 @@ struct dcesrv_interface {
*/
NTSTATUS (*ndr_push)(struct dcesrv_call_state *, TALLOC_CTX *, struct ndr_push *, const void *);
+ /* the local dispatch function for the chosen interface.
+ */
+ NTSTATUS (*local)(void *p, int opnum, TALLOC_CTX *, const DATA_BLOB *in, DATA_BLOB *out);
+
/* for any private use by the interface code */
const void *private_data;