Diff for /servers/slapd/overlays/overlays.c between versions 1.12.2.2 and 1.12.2.6

version 1.12.2.2, 2005/03/14 22:25:02 version 1.12.2.6, 2005/08/25 05:01:19
Line 1 Line 1
 /* overlays.c - Static overlay framework */  /* overlays.c - Static overlay framework */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/overlays.c,v 1.12.2.1 2005/01/20 18:04:04 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/overlays.c,v 1.22 2005/08/23 06:52:01 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2003-2005 The OpenLDAP Foundation.   * Copyright 2003-2005 The OpenLDAP Foundation.
Line 23 Line 23
   
 #include "slap.h"  #include "slap.h"
   
   #if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
   extern int accesslog_init();
   #endif
 #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
 extern int denyop_init();  extern int denyop_init();
 #endif  #endif
 #if SLAPD_OVER_DYNGROUP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DYNGROUP == SLAPD_MOD_STATIC
 extern int dyngroup_init();  extern int dyngroup_init();
 #endif  #endif
   #if SLAPD_OVER_DYNLIST == SLAPD_MOD_STATIC
   extern int dynlist_init();
   #endif
 #if SLAPD_OVER_GLUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_GLUE == SLAPD_MOD_STATIC
 extern int glue_init();  extern int glue_init();
 #endif  #endif
Line 44  extern int pcache_init(); Line 50  extern int pcache_init();
 #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC  #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC
 extern int refint_init();  extern int refint_init();
 #endif  #endif
   #if SLAPD_OVER_RETCODE == SLAPD_MOD_STATIC
   extern int retcode_init();
   #endif
 #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC  #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC
 extern int rwm_init();  extern int rwm_init();
 #endif  #endif
Line 56  extern int translucent_init(); Line 65  extern int translucent_init();
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
 extern int unique_init();  extern int unique_init();
 #endif  #endif
   #if SLAPD_OVER_VALSORT == SLAPD_MOD_STATIC
   extern int valsort_init();
   #endif
   
 static struct {  static struct {
         char *name;          char *name;
         int (*func)();          int (*func)();
 } funcs[] = {  } funcs[] = {
   #if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
           { "Access Log", accesslog_init },
   #endif
 #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
         { "Deny Operation", denyop_init },          { "Deny Operation", denyop_init },
 #endif  #endif
 #if SLAPD_OVER_DYNGROUP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DYNGROUP == SLAPD_MOD_STATIC
         { "Dynamic Group", dyngroup_init },          { "Dynamic Group", dyngroup_init },
 #endif  #endif
   #if SLAPD_OVER_DYNLIST == SLAPD_MOD_STATIC
           { "Dynamic List", dynlist_init },
   #endif
 #if SLAPD_OVER_GLUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_GLUE == SLAPD_MOD_STATIC
         { "Backend Glue", glue_init },          { "Backend Glue", glue_init },
 #endif  #endif
Line 82  static struct { Line 100  static struct {
 #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC  #if SLAPD_OVER_REFINT == SLAPD_MOD_STATIC
         { "Referential Integrity", refint_init },          { "Referential Integrity", refint_init },
 #endif  #endif
   #if SLAPD_OVER_RETCODE == SLAPD_MOD_STATIC
           { "Return Code", retcode_init },
   #endif
 #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC  #if SLAPD_OVER_RWM == SLAPD_MOD_STATIC
         { "Rewrite/Remap", rwm_init },          { "Rewrite/Remap", rwm_init },
 #endif  #endif
Line 94  static struct { Line 115  static struct {
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
         { "Attribute Uniqueness", unique_init },          { "Attribute Uniqueness", unique_init },
 #endif  #endif
   #if SLAPD_OVER_VALSORT == SLAPD_MOD_STATIC
           { "Value Sorting", valsort_init },
   #endif
         { NULL, NULL }          { NULL, NULL }
 };  };
   

Removed from v.1.12.2.2  
changed lines
  Added in v.1.12.2.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org