SMTP Async I/O:
[citadel.git] / citadel / clientsocket.h
index 491d7e3b122de69f44ce18cdc4ad6606a20434ea..69898156d0fc4c4a30514d2db41a2e06fc35574c 100644 (file)
@@ -24,6 +24,7 @@ int sock_connect(char *host, char *service, char *protocol);
 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);