httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/include util_filter.h
Date Tue, 24 Jul 2001 00:10:26 GMT
jwoolley    01/07/23 17:10:26

  Modified:    include  util_filter.h
  Log:
  Document and future-proof the dependency between apr_read_type_e and
  ap_input_mode_t.  It's now safe(r) to cast from ap_read_type_e to
  ap_input_mode_t.
  
  Submitted by:	Justin Erenkrantz, Sander Striker
  
  Revision  Changes    Path
  1.56      +4 -3      httpd-2.0/include/util_filter.h
  
  Index: util_filter.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/util_filter.h,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- util_filter.h	2001/06/13 13:44:34	1.55
  +++ util_filter.h	2001/07/24 00:10:26	1.56
  @@ -83,15 +83,16 @@
   #define AP_FILTER_ERROR         -3
   
   /**
  - * input filtering modes 
  + * input filtering modes
  + * @see apr_read_type_e in apr_buckets.h -- this is a superset of it
    */
   typedef enum {
       /** The filter shouldn't return until data is received or EOF is hit
        *  or an error occurs. */
  -    AP_MODE_BLOCKING,
  +    AP_MODE_BLOCKING = APR_BLOCK_READ,
       /** The filter should process any available data/status as normal,
        *  but will not wait for additional data. */
  -    AP_MODE_NONBLOCKING,
  +    AP_MODE_NONBLOCKING = APR_NONBLOCK_READ,
       /** The filter should return ::APR_SUCCESS if data is available or
        *  ::APR_EOF otherwise.  The filter must not return any buckets of
        *  data.  Data returned on a subsequent call, when mode is
  
  
  

Mime
View raw message