mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
remove backed-out code from previous commit
This commit is contained in:
parent
4b85c58782
commit
91f2a8bc46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user