* 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,
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"));
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,