From 1e535191361d94dab6e50b254d45ce81ed01c29e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 4 Feb 1999 17:36:06 +0000 Subject: [PATCH] Backout recent initialization/startup changes in preparation for new frontend-backend interface. --- include/ldbm.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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 ); -- 2.39.5