]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Recent API exports make no sense without headers
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 20 Jan 2002 22:51:15 +0000 (22:51 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 20 Jan 2002 22:51:15 +0000 (22:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92954 13f79535-47bb-0310-9956-ffa450edef68

src/include/buff.h

index 6a12b4e766c053e2c0d7e75897f7900c1240d2a5..5032b181a498c7f78febe4d83ea197afa4ae5055 100644 (file)
@@ -234,6 +234,14 @@ API_EXPORT(int) ap_bfileno(BUFF *fb, int direction);
 /* 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