You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/01/20 23:51:16 UTC
cvs commit: apache-1.3/src/include buff.h
wrowe 02/01/20 14:51:16
Modified: src/include buff.h
Log:
Recent API exports make no sense without headers
Revision Changes Path
1.53 +8 -0 apache-1.3/src/include/buff.h
Index: buff.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/include/buff.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- buff.h 20 Jan 2002 19:19:09 -0000 1.52
+++ buff.h 20 Jan 2002 22:51:15 -0000 1.53
@@ -234,6 +234,14 @@
/* bflush() if a read now would block, but don't actually read anything */
API_EXPORT(void) ap_bhalfduplex(BUFF *fb);
+#if defined(WIN32) || defined(NETWARE) || defined(CYGWIN_WINSOCK)
+
+/* ap_recvwithtimeout/ap_sendwithtimeout socket primitives for WinSock */
+API_EXPORT(int) ap_sendwithtimeout(int sock, const char *buf, int len, int flags);
+API_EXPORT(int) ap_recvwithtimeout(int sock, char *buf, int len, int flags);
+
+#endif
+
#ifdef __cplusplus
}
#endif