summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_server.c25
-rw-r--r--source3/rpc_server/rpc_server.h9
2 files changed, 17 insertions, 17 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c
index fe78a1c629..2e6bfa53e2 100644
--- a/source3/rpc_server/rpc_server.c
+++ b/source3/rpc_server/rpc_server.c
@@ -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;
diff --git a/source3/rpc_server/rpc_server.h b/source3/rpc_server/rpc_server.h
index c6ac2e29b3..1d368c324c 100644
--- a/source3/rpc_server/rpc_server.h
+++ b/source3/rpc_server/rpc_server.h
@@ -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_ */