mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-rpc_server: Make dcerpc_ncacn_accept() public.
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
This commit is contained in:
parent
312c519c5c
commit
e4b566d6cf
@ -639,15 +639,6 @@ fail:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
|
|
||||||
struct messaging_context *msg_ctx,
|
|
||||||
enum dcerpc_transport_t transport,
|
|
||||||
const char *name,
|
|
||||||
struct tsocket_address *cli_addr,
|
|
||||||
struct tsocket_address *srv_addr,
|
|
||||||
int s,
|
|
||||||
dcerpc_ncacn_disconnect_fn fn);
|
|
||||||
|
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
* Start listening on the tcp/ip socket
|
* Start listening on the tcp/ip socket
|
||||||
********************************************************************/
|
********************************************************************/
|
||||||
@ -969,7 +960,7 @@ struct dcerpc_ncacn_conn {
|
|||||||
static void dcerpc_ncacn_packet_process(struct tevent_req *subreq);
|
static void dcerpc_ncacn_packet_process(struct tevent_req *subreq);
|
||||||
static void dcerpc_ncacn_packet_done(struct tevent_req *subreq);
|
static void dcerpc_ncacn_packet_done(struct tevent_req *subreq);
|
||||||
|
|
||||||
static void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
|
void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
enum dcerpc_transport_t transport,
|
enum dcerpc_transport_t transport,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
@ -47,4 +47,13 @@ bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx,
|
|||||||
const char *name,
|
const char *name,
|
||||||
dcerpc_ncacn_disconnect_fn fn);
|
dcerpc_ncacn_disconnect_fn fn);
|
||||||
|
|
||||||
|
void dcerpc_ncacn_accept(struct tevent_context *ev_ctx,
|
||||||
|
struct messaging_context *msg_ctx,
|
||||||
|
enum dcerpc_transport_t transport,
|
||||||
|
const char *name,
|
||||||
|
struct tsocket_address *cli_addr,
|
||||||
|
struct tsocket_address *srv_addr,
|
||||||
|
int s,
|
||||||
|
dcerpc_ncacn_disconnect_fn fn);
|
||||||
|
|
||||||
#endif /* _PRC_SERVER_H_ */
|
#endif /* _PRC_SERVER_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user