mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:rpc_server: Rename setup_named_pipe_socket
Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
3fdd4dc03a
commit
b6537c15c1
@ -199,7 +199,7 @@ void start_epmd(struct tevent_context *ev_ctx,
|
||||
exit(1);
|
||||
}
|
||||
|
||||
ok = setup_named_pipe_socket("epmapper", ev_ctx, msg_ctx);
|
||||
ok = dcesrv_setup_ncacn_np_socket("epmapper", ev_ctx, msg_ctx);
|
||||
if (!ok) {
|
||||
DEBUG(0, ("Failed to open epmd named pipe!\n"));
|
||||
exit(1);
|
||||
|
@ -195,7 +195,7 @@ void start_fssd(struct tevent_context *ev_ctx,
|
||||
}
|
||||
|
||||
/* case is normalized by smbd on connection */
|
||||
ok = setup_named_pipe_socket("fssagentrpc", ev_ctx, msg_ctx);
|
||||
ok = dcesrv_setup_ncacn_np_socket("fssagentrpc", ev_ctx, msg_ctx);
|
||||
if (!ok) {
|
||||
DEBUG(0, ("Failed to open fssd named pipe!\n"));
|
||||
exit(1);
|
||||
|
@ -147,9 +147,9 @@ out:
|
||||
return status;
|
||||
}
|
||||
|
||||
bool setup_named_pipe_socket(const char *pipe_name,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx)
|
||||
bool dcesrv_setup_ncacn_np_socket(const char *pipe_name,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx)
|
||||
{
|
||||
struct dcerpc_ncacn_listen_state *state;
|
||||
struct tevent_fd *fde;
|
||||
|
@ -80,9 +80,9 @@ int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
|
||||
void set_incoming_fault(struct pipes_struct *p);
|
||||
void process_complete_pdu(struct pipes_struct *p, struct ncacn_packet *pkt);
|
||||
NTSTATUS dcesrv_create_ncacn_np_socket(const char *pipe_name, int *out_fd);
|
||||
bool setup_named_pipe_socket(const char *pipe_name,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx);
|
||||
bool dcesrv_setup_ncacn_np_socket(const char *pipe_name,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx);
|
||||
void named_pipe_accept_function(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const char *pipe_name, int fd,
|
||||
|
Loading…
x
Reference in New Issue
Block a user