+static int
+bdb2i_back_init_private(
+ BackendInfo *bi
+)
+{
+ struct ldbtype *bt;
+
+ /* allocate backend-type-specific stuff */
+ bt = (struct ldbtype *) ch_calloc( 1, sizeof(struct ldbtype) );
+
+ bt->lty_dbhome = DEFAULT_DB_HOME;
+ bt->lty_mpsize = DEFAULT_DBCACHE_SIZE;
+
+ if ( slapMode == SLAP_TIMEDSERVER_MODE )
+ bt->lty_betiming = 1;
+
+ bi->bi_private = bt;
+
+ return 0;
+}
+
+