]> code.citadel.org Git - citadel.git/blobdiff - citadel/clientsocket.h
Replaced client_read() with socket_read_blob() in serv_network.c
[citadel.git] / citadel / clientsocket.h
index cb93d849bacc482862425f159394af76c12c1a44..c430c1882aad99164fb682fb93dddea715cb8079 100644 (file)
  */
 
 int sock_connect(char *host, char *service);
-int sock_read_to(int *sock, char *buf, int bytes, int timeout, int keep_reading_until_full);
-int sock_read(int *sock, char *buf, int bytes, int keep_reading_until_full);
 int sock_write(int *sock, const char *buf, int nbytes);
 int sock_write_timeout(int *sock, const char *buf, int nbytes, int timeout);
 int ml_sock_gets(int *sock, char *buf, int nSec);
 int sock_getln(int *sock, char *buf, int bufsize);
 int CtdlSockGetLine(int *sock, StrBuf *Target, int nSec);
 int sock_puts(int *sock, char *buf);
+int socket_read_blob(int *Socket, StrBuf * Target, int bytes, int timeout);
 
 
 /*