]> git.sur5r.net Git - openldap/commitdiff
remove dependencies on back-{b,h}db
authorPierangelo Masarati <ando@openldap.org>
Wed, 6 Sep 2006 09:09:03 +0000 (09:09 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 6 Sep 2006 09:09:03 +0000 (09:09 +0000)
servers/slapd/back-monitor/database.c

index 02644819b9e459dde629a846d8ebdd32b14981f9..5d080f60fd6571a220cbae7173ae17ae25a95703 100644 (file)
 static int monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e );
 #endif /* defined(LDAP_SLAPI) */
 
+#if 0  /* moved to back-bdb/monitor.c */
 #if defined(SLAPD_BDB)
 #include "../back-bdb/back-bdb.h"
 #endif /* defined(SLAPD_BDB) */
 #if defined(SLAPD_HDB)
 #include "../back-hdb/back-bdb.h"
 #endif /* defined(SLAPD_HDB) */
+#endif
 #if defined(SLAPD_LDAP) 
 #include "../back-ldap/back-ldap.h"
 #endif /* defined(SLAPD_LDAP) */
@@ -291,6 +293,7 @@ monitor_subsys_database_init(
                if ( 0 ) {
                        assert( 0 );
 
+#if 0 /* moved into back-bdb/monitor.c */
 #if defined(SLAPD_BDB) || defined(SLAPD_HDB) 
                } else if ( strcmp( bi->bi_type, "bdb" ) == 0
                                || strcmp( bi->bi_type, "hdb" ) == 0 )
@@ -337,6 +340,7 @@ monitor_subsys_database_init(
                        ch_free( bv.bv_val );
 
 #endif /* defined(SLAPD_BDB) || defined(SLAPD_HDB) */
+#endif
 #if defined(SLAPD_LDAP) 
                } else if ( strcmp( bi->bi_type, "ldap" ) == 0 ) {
                        ldapinfo_t      *li = (ldapinfo_t *)be->be_private;