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:
parent
2e938e22ac
commit
c976d456d2
@ -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);
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user