summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-27 16:49:00 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-27 17:05:30 +0200
commit7ca576e5c4a0da616c2a6738859c9c989f76202e (patch)
tree9176eae2bdd0620c3414376814192eddaa625631 /source4/rpc_server
parent9a1a00199c2603376eacfdba7e7d0d55bc64f405 (diff)
downloadsamba-7ca576e5c4a0da616c2a6738859c9c989f76202e.tar.gz
samba-7ca576e5c4a0da616c2a6738859c9c989f76202e.tar.bz2
samba-7ca576e5c4a0da616c2a6738859c9c989f76202e.zip
s4:rpc_server: remove unused socket_address based functions
metze
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/service_rpc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index 906b02dc9e..6f4df00f9d 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -133,24 +133,6 @@ static void dcesrv_sock_reply_done(struct tevent_req *subreq)
}
}
-static struct socket_address *dcesrv_sock_get_my_addr(struct dcesrv_connection *dcesrv_conn, TALLOC_CTX *mem_ctx)
-{
- struct stream_connection *srv_conn;
- srv_conn = talloc_get_type(dcesrv_conn->transport.private_data,
- struct stream_connection);
-
- return socket_get_my_addr(srv_conn->socket, mem_ctx);
-}
-
-static struct socket_address *dcesrv_sock_get_peer_addr(struct dcesrv_connection *dcesrv_conn, TALLOC_CTX *mem_ctx)
-{
- struct stream_connection *srv_conn;
- srv_conn = talloc_get_type(dcesrv_conn->transport.private_data,
- struct stream_connection);
-
- return socket_get_peer_addr(srv_conn->socket, mem_ctx);
-}
-
struct dcerpc_read_ncacn_packet_state {
struct {
struct smb_iconv_convenience *smb_iconv_c;