summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-02-23 15:38:14 +0100
committerGünther Deschner <gd@samba.org>2011-03-08 11:41:29 +0100
commit917a5eaf18f9d0bbded617677b35b202a88d6687 (patch)
tree02079307e368ecb9896c27d073a1c60dc156a087 /source3/rpc_server
parent1e69dad4468aed909e05691c093275ba00f3ff78 (diff)
downloadsamba-917a5eaf18f9d0bbded617677b35b202a88d6687.tar.gz
samba-917a5eaf18f9d0bbded617677b35b202a88d6687.tar.bz2
samba-917a5eaf18f9d0bbded617677b35b202a88d6687.zip
s3-rpc_server: Added prototype to setup a ncalrpc socket.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_server.c1
-rw-r--r--source3/rpc_server/rpc_server.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c
index ff1644f3a8..eb98a447f5 100644
--- a/source3/rpc_server/rpc_server.c
+++ b/source3/rpc_server/rpc_server.c
@@ -930,7 +930,6 @@ static void dcerpc_ncalrpc_listener(struct tevent_context *ev,
bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx,
struct ndr_syntax_id syntax_id,
- const struct sockaddr_storage *ifss,
const char *name)
{
struct dcerpc_ncacn_listen_state *state;
diff --git a/source3/rpc_server/rpc_server.h b/source3/rpc_server/rpc_server.h
index 458130b45d..18c790500c 100644
--- a/source3/rpc_server/rpc_server.h
+++ b/source3/rpc_server/rpc_server.h
@@ -31,4 +31,9 @@ uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx,
const struct sockaddr_storage *ifss,
uint16_t port);
+bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx,
+ struct ndr_syntax_id syntax_id,
+ const char *name);
+
#endif /* _PRC_SERVER_H_ */