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;
|
||||
}
|
||||
|
||||
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
|
||||
********************************************************************/
|
||||
@ -969,14 +960,14 @@ struct dcerpc_ncacn_conn {
|
||||
static void dcerpc_ncacn_packet_process(struct tevent_req *subreq);
|
||||
static void dcerpc_ncacn_packet_done(struct tevent_req *subreq);
|
||||
|
||||
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) {
|
||||
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) {
|
||||
struct dcerpc_ncacn_conn *ncacn_conn;
|
||||
struct tevent_req *subreq;
|
||||
bool system_user = false;
|
||||
|
@ -47,4 +47,13 @@ bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx,
|
||||
const char *name,
|
||||
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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user