svn commit: samba r11632 - in branches/SAMBA_4_0/source/libcli/raw: .

tridge at samba.org tridge at samba.org
Thu Nov 10 05:26:54 GMT 2005


Author: tridge
Date: 2005-11-10 05:26:53 +0000 (Thu, 10 Nov 2005)
New Revision: 11632

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11632

Log:

removed 2 unused functions


Modified:
   branches/SAMBA_4_0/source/libcli/raw/clisocket.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/clisocket.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2005-11-10 05:24:52 UTC (rev 11631)
+++ branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2005-11-10 05:26:53 UTC (rev 11632)
@@ -194,39 +194,6 @@
 }
 
 /****************************************************************************
- Write to socket. Return amount written.
-****************************************************************************/
-NTSTATUS smbcli_sock_write(struct smbcli_socket *sock, const uint8_t *data, 
-			   size_t len, size_t *nsent)
-{
-	DATA_BLOB blob;
-
-	if (sock->sock == NULL) {
-		return NT_STATUS_CONNECTION_DISCONNECTED;
-	}
-
-	blob.data = discard_const(data);
-	blob.length = len;
-
-	return socket_send(sock->sock, &blob, nsent, 0);
-}
-
-
-/****************************************************************************
- Read from socket. return amount read
-****************************************************************************/
-NTSTATUS smbcli_sock_read(struct smbcli_socket *sock, uint8_t *data, 
-			  size_t len, size_t *nread)
-{
-	if (sock->sock == NULL) {
-		return NT_STATUS_CONNECTION_DISCONNECTED;
-	}
-
-	return socket_recv(sock->sock, data, len, nread, 0);
-}
-
-
-/****************************************************************************
 resolve a hostname and connect 
 ****************************************************************************/
 struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,



More information about the samba-cvs mailing list