From: Kurt Zeilenga Date: Thu, 4 Feb 1999 17:36:06 +0000 (+0000) Subject: Backout recent initialization/startup changes in preparation for X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~639 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1e535191361d94dab6e50b254d45ce81ed01c29e;p=openldap Backout recent initialization/startup changes in preparation for new frontend-backend interface. --- diff --git a/include/ldbm.h b/include/ldbm.h index 7ae5830293..3f55a6ffea 100644 --- a/include/ldbm.h +++ b/include/ldbm.h @@ -202,7 +202,8 @@ LDAP_END_DECL LDAP_BEGIN_DECL -int ldbm_errno( LDBM ldbm ); +void ldbm_initialize( void ); +int ldbm_errno( LDBM ldbm ); LDBM ldbm_open( char *name, int rw, int mode, int dbcachesize ); void ldbm_close( LDBM ldbm ); void ldbm_sync( LDBM ldbm ); @@ -212,16 +213,6 @@ Datum ldbm_fetch( LDBM ldbm, Datum key ); int ldbm_store( LDBM ldbm, Datum key, Datum data, int flags ); int ldbm_delete( LDBM ldbm, Datum key ); -#ifdef LDBM_USE_DBBTREE -# if HAVE_BERKELEY_DB2 - LDBM ldbm_open_env( char *name, int rw, int mode, - int dbcachesize, DB_ENV *env ); -# else - LDBM ldbm_open_env( char *name, int rw, int mode, - int dbcachesize, void *env ); -# endif -#endif - #if HAVE_BERKELEY_DB2 void *ldbm_malloc( size_t size ); Datum ldbm_firstkey( LDBM ldbm, DBC **dbch );