s4:smb_server: remove unused socket_address functions
authorStefan Metzmacher <metze@samba.org>
Tue, 27 Apr 2010 13:44:40 +0000 (15:44 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Apr 2010 13:44:40 +0000 (15:44 +0200)
metze

source4/smb_server/tcon.c

index f8243a006ce79771d9db802697cad5f4352a55de..3259ec379994991e07e022ddffb1f17dabc96cd3 100644 (file)
 #include "smbd/service_stream.h"
 #include "ntvfs/ntvfs.h"
 
-struct socket_address *smbsrv_get_my_addr(void *p, TALLOC_CTX *mem_ctx)
-{
-       struct smbsrv_connection *smb_conn = talloc_get_type(p,
-                                            struct smbsrv_connection);
-
-       return socket_get_my_addr(smb_conn->connection->socket, mem_ctx);
-}
-
-struct socket_address *smbsrv_get_peer_addr(void *p, TALLOC_CTX *mem_ctx)
-{
-       struct smbsrv_connection *smb_conn = talloc_get_type(p,
-                                            struct smbsrv_connection);
-
-       return socket_get_peer_addr(smb_conn->connection->socket, mem_ctx);
-}
-
 /****************************************************************************
 init the tcon structures
 ****************************************************************************/