httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Sun, 25 Apr 2004 17:05:51 GMT
nd          2004/04/25 10:05:51

  Modified:    .        CHANGES
               include  ap_mmn.h http_config.h
               server   config.c
  Log:
  ap_add_named_module is not used and maintained anymore. Drop it.
  
  Revision  Changes    Path
  1.1471    +2 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1470
  retrieving revision 1.1471
  diff -u -u -r1.1470 -r1.1471
  --- CHANGES	24 Apr 2004 18:55:59 -0000	1.1470
  +++ CHANGES	25 Apr 2004 17:05:50 -0000	1.1471
  @@ -2,6 +2,8 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Removed old and unmaintained ap_add_named_module API. [André Malo]
  +
     *) htpasswd no longer refuses to process files that contain empty
        lines.  [André Malo]
   
  
  
  
  1.67      +3 -2      httpd-2.0/include/ap_mmn.h
  
  Index: ap_mmn.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/ap_mmn.h,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -u -r1.66 -r1.67
  --- ap_mmn.h	9 Feb 2004 20:38:21 -0000	1.66
  +++ ap_mmn.h	25 Apr 2004 17:05:51 -0000	1.67
  @@ -80,14 +80,15 @@
    * 20030821.1 (2.1.0-dev) added XHTML doctypes
    * 20030821.2 (2.1.0-dev) added ap_escape_errorlog_item
    * 20030821.3 (2.1.0-dev) added ap_get_server_revision / ap_version_t
  + * 20040425 (2.1.0-dev) removed ap_add_named_module API
    */
   
   #define MODULE_MAGIC_COOKIE 0x41503230UL /* "AP20" */
   
   #ifndef MODULE_MAGIC_NUMBER_MAJOR
  -#define MODULE_MAGIC_NUMBER_MAJOR 20030821
  +#define MODULE_MAGIC_NUMBER_MAJOR 20040425
   #endif
  -#define MODULE_MAGIC_NUMBER_MINOR 3                     /* 0...n */
  +#define MODULE_MAGIC_NUMBER_MINOR 0                     /* 0...n */
   
   /**
    * Determine if the server's current MODULE_MAGIC_NUMBER is at least a
  
  
  
  1.108     +0 -8      httpd-2.0/include/http_config.h
  
  Index: http_config.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_config.h,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -u -r1.107 -r1.108
  --- http_config.h	9 Feb 2004 20:38:21 -0000	1.107
  +++ http_config.h	25 Apr 2004 17:05:51 -0000	1.108
  @@ -566,14 +566,6 @@
    */
   AP_DECLARE(void) ap_remove_loaded_module(module *mod);
   /**
  - * Add a module to the list of loaded module based on the name of the
  - * module
  - * @param name The name of the module
  - * @param p The pool valid for the lifetime of the module
  - * @return 1 on success, 0 on failure
  - */
  -AP_DECLARE(int) ap_add_named_module(const char *name, apr_pool_t *p);
  -/**
    * Find the name of the specified module
    * @param m The module to get the name for
    * @return the name of the module
  
  
  
  1.176     +0 -20     httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.175
  retrieving revision 1.176
  diff -u -u -r1.175 -r1.176
  --- config.c	21 Apr 2004 21:24:28 -0000	1.175
  +++ config.c	25 Apr 2004 17:05:51 -0000	1.176
  @@ -626,26 +626,6 @@
       return NULL;
   }
   
  -/* Add a named module.  Returns 1 if module found, 0 otherwise.  */
  -AP_DECLARE(int) ap_add_named_module(const char *name, apr_pool_t *p)
  -{
  -    module *modp;
  -    int i = 0;
  -
  -    for (modp = ap_loaded_modules[i]; modp; modp = ap_loaded_modules[++i]) {
  -        if (strcmp(modp->name, name) == 0) {
  -            /* Only add modules that are not already enabled.  */
  -            if (modp->next == NULL) {
  -                ap_add_module(modp, p);
  -            }
  -
  -            return 1;
  -        }
  -    }
  -
  -    return 0;
  -}
  -
   /*****************************************************************
    *
    * Resource, access, and .htaccess config files now parsed by a common
  
  
  

Mime
View raw message