summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_rpc_register.c4
-rw-r--r--source3/rpc_server/srv_rpc_register.h4
-rw-r--r--source3/smbd/server.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_rpc_register.c b/source3/rpc_server/srv_rpc_register.c
index 6f3e9e37b9..d83efbe494 100644
--- a/source3/rpc_server/srv_rpc_register.c
+++ b/source3/rpc_server/srv_rpc_register.c
@@ -295,8 +295,8 @@ static bool wkssvc_shutdown_cb(void *ptr) {
return NT_STATUS_IS_OK(_rpc_ep_unregister(&ndr_table_wkssvc));
}
-bool srv_rpc_register(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx)
+bool dcesrv_ep_setup(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx)
{
struct dcesrv_ep_context *ep_ctx;
diff --git a/source3/rpc_server/srv_rpc_register.h b/source3/rpc_server/srv_rpc_register.h
index 16442c040c..272910a419 100644
--- a/source3/rpc_server/srv_rpc_register.h
+++ b/source3/rpc_server/srv_rpc_register.h
@@ -22,8 +22,8 @@
#ifndef _SMBD_RPC_CALLBACKS_H
#define _SMBD_RPC_CALLBACKS_H
-bool srv_rpc_register(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx);
+bool dcesrv_ep_setup(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx);
#endif /* _SMBD_RPC_CALLBACKS_H */
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 4b41750ac2..ca88363403 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1196,7 +1196,7 @@ extern void build_options(bool screen);
return -1;
}
- if (!srv_rpc_register(smbd_event_context(), smbd_server_conn->msg_ctx)) {
+ if (!dcesrv_ep_setup(smbd_event_context(), smbd_server_conn->msg_ctx)) {
exit(1);
}