httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/win32 mod_isapi.c
Date Mon, 11 Sep 2000 19:02:45 GMT
trawick     00/09/11 12:02:43

  Modified:    src/os/win32 mod_isapi.c
  Log:
  Get mod_isapi.c to compile with the level of Win32 headers which
  ship with VC++ 5.0.
  
  Revision  Changes    Path
  1.19      +22 -7     apache-2.0/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/mod_isapi.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mod_isapi.c	2000/08/08 19:53:27	1.18
  +++ mod_isapi.c	2000/09/11 19:02:40	1.19
  @@ -719,18 +719,25 @@
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
   
  +#if defined(HSE_REQ_IS_KEEP_CONN) /* this and a lot more aren't in VC++ 5.0 */
           case HSE_REQ_IS_KEEP_CONN:
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  -        
  +#endif
  +
  +#if defined(HSE_REQ_ASYNC_READ_CLIENT)
           case HSE_REQ_ASYNC_READ_CLIENT:
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  -        
  +#endif
  +
  +#if defined(HSE_REQ_GET_IMPERSONATION_TOKEN)
           case HSE_REQ_GET_IMPERSONATION_TOKEN:  /* Added in ISAPI 4.0 */
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  +#endif
   
  +#if defined(HSE_REQ_MAP_URL_TO_PATH_EX)
           case HSE_REQ_MAP_URL_TO_PATH_EX:
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  @@ -773,15 +780,21 @@
                */
   
               return TRUE;
  -        
  +#endif
  +
  +#if defined(HSE_REQ_ABORTIVE_CLOSE)
           case HSE_REQ_ABORTIVE_CLOSE:
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  -                
  +#endif
  +
  +#if defined(HSE_REQ_GET_CERT_INFO_EX)
           case HSE_REQ_GET_CERT_INFO_EX:  /* Added in ISAPI 4.0 */
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  +#endif
   
  +#if defined(HSE_REQ_SEND_RESPONSE_HEADER_EX)
           case HSE_REQ_SEND_RESPONSE_HEADER_EX:  /* Added in ISAPI 4.0 */
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  @@ -832,13 +845,15 @@
                   ap_rputs(data, r);
   
               return TRUE;
  -#if 0
  -/* HSE_REQ_CLOSE_CONNACTION and HSE_REQ_IS_CONNECTED are not defined on
  - * my system. wgs */
  +#endif
  +
  +#if defined(HSE_REQ_CLOSE_CONNECTION) /* not in VC++ 5.0 or 6.0 */
           case HSE_REQ_CLOSE_CONNECTION:  /* Added after ISAPI 4.0 */
               SetLastError(ERROR_INVALID_PARAMETER);
               return FALSE;
  +#endif
   
  +#if defined(HSE_REQ_IS_CONNECTED) /* not in VC++ 5.0 or 6.0 */
           case HSE_REQ_IS_CONNECTED:  /* Added after ISAPI 4.0 */
               /* Returns True if client is connected c.f. Q188346*/
               return TRUE;
  
  
  

Mime
View raw message