]> code.citadel.org Git - citadel.git/blobdiff - citadel/clientsocket.h
Checked in an RSS feed reader to replace the
[citadel.git] / citadel / clientsocket.h
index 0e5a6ecb4cc5eca53256b2f64205bfb22ba85efc..9cc4c12a12dca3a1248cb4b78b1d50db7bb60ca7 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 int sock_connect(char *host, char *service, char *protocol);
-int sock_read_to(int sock, char *buf, int bytes, int timeout);
-int sock_read(int sock, char *buf, int bytes);
+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, char *buf, int nbytes);
 int ml_sock_gets(int sock, char *buf);
 int sock_getln(int sock, char *buf, int bufsize);