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

version 1.12, 2004/11/30 00:40:58 version 1.12.2.2, 2005/03/14 22:25:02
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.12.2.1 2005/01/20 18:04:04 kurt 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  
 extern int chain_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
Line 53  extern int rwm_init(); Line 50  extern int rwm_init();
 #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 61  static struct {
         char *name;          char *name;
         int (*func)();          int (*func)();
 } funcs[] = {  } funcs[] = {
 #if SLAPD_OVER_CHAIN == SLAPD_MOD_STATIC  
         { "LDAP Chain Response", chain_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
Line 91  static struct { Line 88  static struct {
 #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.2


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