From 91f2a8bc464dc08e40239fc5dd6aa791de53803d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 11 Nov 2004 09:43:15 +0000 Subject: [PATCH] remove backed-out code from previous commit --- servers/slapd/backend.c | 108 ---------------------------------------- 1 file changed, 108 deletions(-) diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 1ef4c3fdfd..fc41d3a252 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -48,114 +48,6 @@ static int call_group_preop_plugins( Operation *op ); static void call_group_postop_plugins( Operation *op ); #endif /* LDAP_SLAPI */ -#if 0 - -/* - * If a module is configured as dynamic, its header should not - * get included into slapd. While this is a general rule and does - * not have much of an effect in UNIX, this rule should be adhered - * to for Windows, where dynamic object code should not be implicitly - * imported into slapd without appropriate __declspec(dllimport) directives. - */ - -#if SLAPD_BDB == SLAPD_MOD_STATIC -#include "back-bdb/external.h" -#endif -#if SLAPD_DNSSRV == SLAPD_MOD_STATIC -#include "back-dnssrv/external.h" -#endif -#if SLAPD_HDB == SLAPD_MOD_STATIC -#include "back-hdb/external.h" -#endif -#if SLAPD_LDAP == SLAPD_MOD_STATIC -#include "back-ldap/external.h" -#endif -#if SLAPD_LDBM == SLAPD_MOD_STATIC -#include "back-ldbm/external.h" -#endif -#if SLAPD_META == SLAPD_MOD_STATIC -#include "back-meta/external.h" -#endif -#if SLAPD_MONITOR == SLAPD_MOD_STATIC -#include "back-monitor/external.h" -#endif -#if SLAPD_NULL == SLAPD_MOD_STATIC -#include "back-null/external.h" -#endif -#if SLAPD_PASSWD == SLAPD_MOD_STATIC -#include "back-passwd/external.h" -#endif -#if SLAPD_PERL == SLAPD_MOD_STATIC -#include "back-perl/external.h" -#endif -#if SLAPD_RELAY == SLAPD_MOD_STATIC -#include "back-relay/external.h" -#endif -#if SLAPD_SHELL == SLAPD_MOD_STATIC -#include "back-shell/external.h" -#endif -#if SLAPD_TCL == SLAPD_MOD_STATIC -#include "back-tcl/external.h" -#endif -#if SLAPD_SQL == SLAPD_MOD_STATIC -#include "back-sql/external.h" -#endif -#if SLAPD_PRIVATE == SLAPD_MOD_STATIC -#include "private/external.h" -#endif - -static BackendInfo binfo[] = { -#if SLAPD_BDB == SLAPD_MOD_STATIC - {"bdb", bdb_initialize}, -#endif -#if SLAPD_DNSSRV == SLAPD_MOD_STATIC - {"dnssrv", dnssrv_back_initialize}, -#endif -#if SLAPD_HDB == SLAPD_MOD_STATIC - {"hdb", hdb_initialize}, -#endif -#if SLAPD_LDAP == SLAPD_MOD_STATIC - {"ldap", ldap_back_initialize}, -#endif -#if SLAPD_LDBM == SLAPD_MOD_STATIC - {"ldbm", ldbm_back_initialize}, -#endif -#if SLAPD_META == SLAPD_MOD_STATIC - {"meta", meta_back_initialize}, -#endif -#if SLAPD_MONITOR == SLAPD_MOD_STATIC - {"monitor", monitor_back_initialize}, -#endif -#if SLAPD_NULL == SLAPD_MOD_STATIC - {"null", null_back_initialize}, -#endif -#if SLAPD_PASSWD == SLAPD_MOD_STATIC - {"passwd", passwd_back_initialize}, -#endif -#if SLAPD_PERL == SLAPD_MOD_STATIC - {"perl", perl_back_initialize}, -#endif -#if SLAPD_RELAY == SLAPD_MOD_STATIC - {"relay", relay_back_initialize}, -#endif -#if SLAPD_SHELL == SLAPD_MOD_STATIC - {"shell", shell_back_initialize}, -#endif -#if SLAPD_TCL == SLAPD_MOD_STATIC - {"tcl", tcl_back_initialize}, -#endif -#if SLAPD_SQL == SLAPD_MOD_STATIC - {"sql", backsql_initialize}, -#endif - /* for any private backend */ -#if SLAPD_PRIVATE == SLAPD_MOD_STATIC - {"private", private_back_initialize}, -#endif - {NULL} -}; - -#endif - /* * If a module is configured as dynamic, its header should not * get included into slapd. While this is a general rule and does -- 2.39.5