]> git.sur5r.net Git - openldap/commitdiff
remove backed-out code from previous commit
authorPierangelo Masarati <ando@openldap.org>
Thu, 11 Nov 2004 09:43:15 +0000 (09:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 11 Nov 2004 09:43:15 +0000 (09:43 +0000)
servers/slapd/backend.c

index 1ef4c3fdfd7282f888bd874c7587790db5a399b3..fc41d3a252db73aefe4ad940b1f65a59db772f9f 100644 (file)
@@ -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