Diff for /servers/slapd/overlays/overlays.c between versions 1.12 and 1.12.2.5

version 1.12, 2004/11/30 00:40:58 version 1.12.2.5, 2005/08/09 21:04:07
Line 1 Line 1
 /* overlays.c - Static overlay framework */  /* overlays.c - Static overlay framework */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/overlays.c,v 1.11 2004/11/29 19:55:50 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/overlays.c,v 1.19 2005/08/01 21:40:40 ando 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-2004 The OpenLDAP Foundation.   * Copyright 2003-2005 The OpenLDAP Foundation.
  * Copyright 2003 by Howard Chu.   * Copyright 2003 by Howard Chu.
  * All rights reserved.   * All rights reserved.
  *   *
Line 23 Line 23
   
 #include "slap.h"  #include "slap.h"
   
 #if SLAPD_OVER_CHAIN == SLAPD_MOD_STATIC  #if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
 extern int chain_init();  extern int accesslog_init();
 #endif  #endif
 #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
 extern int denyop_init();  extern int denyop_init();
Line 32  extern int denyop_init(); Line 32  extern int denyop_init();
 #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 47  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
 #if SLAPD_OVER_SYNCPROV == SLAPD_MOD_STATIC  #if SLAPD_OVER_SYNCPROV == SLAPD_MOD_STATIC
 extern int syncprov_init();  extern int syncprov_init();
 #endif  #endif
   #if SLAPD_OVER_TRANSLUCENT == SLAPD_MOD_STATIC
   extern int translucent_init();
   #endif
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
 extern int unique_init();  extern int unique_init();
 #endif  #endif
Line 61  static struct { Line 70  static struct {
         char *name;          char *name;
         int (*func)();          int (*func)();
 } funcs[] = {  } funcs[] = {
 #if SLAPD_OVER_CHAIN == SLAPD_MOD_STATIC  #if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC
         { "LDAP Chain Response", chain_init },          { "Access Log", accesslog_init },
 #endif  #endif
 #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC  #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC
         { "Deny Operation", denyop_init },          { "Deny Operation", denyop_init },
Line 70  static struct { Line 79  static struct {
 #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 85  static struct { Line 97  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
 #if SLAPD_OVER_SYNCPROV == SLAPD_MOD_STATIC  #if SLAPD_OVER_SYNCPROV == SLAPD_MOD_STATIC
         { "Syncrepl Provider", syncprov_init },          { "Syncrepl Provider", syncprov_init },
 #endif  #endif
   #if SLAPD_OVER_TRANSLUCENT == SLAPD_MOD_STATIC
           { "Translucent Proxy", translucent_init },
   #endif
 #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC  #if SLAPD_OVER_UNIQUE == SLAPD_MOD_STATIC
         { "Attribute Uniqueness", unique_init },          { "Attribute Uniqueness", unique_init },
 #endif  #endif

Removed from v.1.12  
changed lines
  Added in v.1.12.2.5


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