From: William A. Rowe Jr Date: Sun, 20 Jan 2002 22:51:15 +0000 (+0000) Subject: Recent API exports make no sense without headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8e9e68ee22a9f07c920346ab6925fd0bea9ccd1;p=thirdparty%2Fapache%2Fhttpd.git Recent API exports make no sense without headers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92954 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/include/buff.h b/src/include/buff.h index 6a12b4e766c..5032b181a49 100644 --- a/src/include/buff.h +++ b/src/include/buff.h @@ -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