1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:rpc_server: Make dcerpc_ncacn_packet_process public

In preparation to remove the named_pipe_client struct, this function
will be set as tevent callback from rpc_ncacn_np.c

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Samuel Cabrero 2019-02-18 19:33:29 +01:00 committed by Stefan Metzmacher
parent 2e938e22ac
commit c976d456d2
2 changed files with 2 additions and 3 deletions

View File

@ -1027,8 +1027,6 @@ NTSTATUS dcerpc_ncacn_conn_init(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
static void dcerpc_ncacn_packet_process(struct tevent_req *subreq);
static void dcerpc_ncacn_packet_done(struct tevent_req *subreq);
static void dcesrv_ncacn_accept_step2(struct dcerpc_ncacn_conn *ncacn_conn);
@ -1246,7 +1244,7 @@ static void dcesrv_ncacn_accept_step2(struct dcerpc_ncacn_conn *ncacn_conn)
return;
}
static void dcerpc_ncacn_packet_process(struct tevent_req *subreq)
void dcerpc_ncacn_packet_process(struct tevent_req *subreq)
{
struct dcerpc_ncacn_conn *ncacn_conn =
tevent_req_callback_data(subreq, struct dcerpc_ncacn_conn);

View File

@ -153,5 +153,6 @@ void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
dcerpc_ncacn_disconnect_fn disconnect_fn,
dcerpc_ncacn_termination_fn termination_fn,
void *termination_data);
void dcerpc_ncacn_packet_process(struct tevent_req *subreq);
#endif /* _PRC_SERVER_H_ */