summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-06 23:29:25 +0100
committerVolker Lendecke <vl@samba.org>2009-01-09 23:17:57 +0100
commit125696b73dbe3d0813432c9775c146e861b4707c (patch)
tree15dc15f61d9e8927902a9d8af73310a18e705ad2 /source3/rpc_server
parentf8f878285d348e43a22385c1907dff3e120d4b59 (diff)
downloadsamba-125696b73dbe3d0813432c9775c146e861b4707c.tar.gz
samba-125696b73dbe3d0813432c9775c146e861b4707c.tar.bz2
samba-125696b73dbe3d0813432c9775c146e861b4707c.zip
Pass the full ndr_interface_table into the s3 rpcserver when registering
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 03d9c5b208..a8205eaa19 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -1052,6 +1052,16 @@ NTSTATUS rpc_pipe_register_commands(int version, const char *clnt,
return NT_STATUS_OK;
}
+NTSTATUS rpc_srv_register(int version, const char *clnt,
+ const char *srv,
+ const struct ndr_interface_table *iface,
+ const struct api_struct *cmds, int size)
+{
+ return rpc_pipe_register_commands(version, clnt, srv,
+ &iface->syntax_id,
+ cmds, size);
+}
+
/**
* Is a named pipe known?
* @param[in] cli_filename The pipe name requested by the client