httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@hyperreal.com>
Subject cvs commit: apache/src CHANGES http_config.c http_config.h
Date Tue, 24 Dec 1996 19:43:51 GMT
randy       96/12/24 11:43:51

  Modified:    src       CHANGES http_config.c http_config.h
  Log:
  Add set_flag_slot() function.
  Reviewed by: Chuck Murcko, Randy Terbush
  Submitted by:	Dirk vanGulik
  
  Revision  Changes    Path
  1.99      +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -C3 -r1.98 -r1.99
  *** CHANGES	1996/12/24 19:40:15	1.98
  --- CHANGES	1996/12/24 19:43:47	1.99
  ***************
  *** 1,5 ****
  --- 1,8 ----
    Changes with Apache 1.2b3:
    
  +   *) Add set_flag_slot() at the request of Dirk and others.
  +      [Dirk vanGulik]
  + 
      *) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
    
      *) Add changes to improve the error message given for invalid
  
  
  
  1.38      +9 -0      apache/src/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_config.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -C3 -r1.37 -r1.38
  *** http_config.c	1996/12/24 18:48:32	1.37
  --- http_config.c	1996/12/24 19:43:48	1.38
  ***************
  *** 697,702 ****
  --- 697,711 ----
        return NULL;
    }
    
  + const char *set_flag_slot (cmd_parms *cmd, char *struct_ptr, int arg)
  + {
  +     /* This one's pretty generic too... */
  +   
  +     int offset = (int)cmd->info; 
  +     *(int *)(struct_ptr + offset) = arg ? 1 : 0;
  +     return NULL;
  + }
  + 
    /*****************************************************************
     *
     * Reading whole config files...
  
  
  
  1.25      +1 -0      apache/src/http_config.h
  
  Index: http_config.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_config.h,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -C3 -r1.24 -r1.25
  *** http_config.h	1996/12/12 01:02:12	1.24
  --- http_config.h	1996/12/24 19:43:49	1.25
  ***************
  *** 238,243 ****
  --- 238,244 ----
    /* Generic command handling function... */
    
    const char *set_string_slot (cmd_parms *, char *, char *);
  + const char *set_flag_slot (cmd_parms *, char *, int);
    
    /* For modules which need to read config files, open logs, etc. ...
     * this returns the fname argument if it begins with '/'; otherwise
  
  
  

Mime
View raw message