summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-20 16:26:48 +0200
committerSimo Sorce <idra@samba.org>2011-08-21 09:05:02 -0400
commite4b566d6cf7affd2d9fc916e203ad4a249d3e077 (patch)
treed951874a127919d312a8a8c0c235713a8689079f /source3
parent312c519c5c129350e6107657e51ae1efb1a655de (diff)
downloadsamba-e4b566d6cf7affd2d9fc916e203ad4a249d3e077.tar.gz
samba-e4b566d6cf7affd2d9fc916e203ad4a249d3e077.tar.bz2
samba-e4b566d6cf7affd2d9fc916e203ad4a249d3e077.zip
s3-rpc_server: Make dcerpc_ncacn_accept() public.
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3')
-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_ */