s3:rpc_server: Rename dcerpc_ncacn_tcpip_listener
authorSamuel Cabrero <scabrero@suse.de>
Tue, 22 Jan 2019 15:20:38 +0000 (16:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 22 Jul 2019 16:49:13 +0000 (16:49 +0000)
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/rpc_server.c

index 82b475e72c05753891e163864fa576bed178b562..5bed80723b257a745a2177ff78e2e7feb27bf9a9 100644 (file)
@@ -608,10 +608,10 @@ fail:
  * Start listening on the tcp/ip socket
  ********************************************************************/
 
-static void dcerpc_ncacn_tcpip_listener(struct tevent_context *ev,
-                                       struct tevent_fd *fde,
-                                       uint16_t flags,
-                                       void *private_data);
+static void dcesrv_ncacn_ip_tcp_listener(struct tevent_context *ev,
+                                        struct tevent_fd *fde,
+                                        uint16_t flags,
+                                        void *private_data);
 
 NTSTATUS dcesrv_create_ncacn_ip_tcp_socket(const struct sockaddr_storage *ifss,
                                           uint16_t *port,
@@ -701,7 +701,7 @@ uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx,
                            state,
                            state->fd,
                            TEVENT_FD_READ,
-                           dcerpc_ncacn_tcpip_listener,
+                           dcesrv_ncacn_ip_tcp_listener,
                            state);
        if (fde == NULL) {
                DEBUG(0, ("setup_tcpip_socket: Failed to add event handler!\n"));
@@ -720,10 +720,10 @@ out:
        return 0;
 }
 
-static void dcerpc_ncacn_tcpip_listener(struct tevent_context *ev,
-                                       struct tevent_fd *fde,
-                                       uint16_t flags,
-                                       void *private_data)
+static void dcesrv_ncacn_ip_tcp_listener(struct tevent_context *ev,
+                                        struct tevent_fd *fde,
+                                        uint16_t flags,
+                                        void *private_data)
 {
        struct dcerpc_ncacn_listen_state *state =
                        talloc_get_type_abort(private_data,