]> git.sur5r.net Git - openldap/commitdiff
Backout recent initialization/startup changes in preparation for
authorKurt Zeilenga <kurt@openldap.org>
Thu, 4 Feb 1999 17:36:06 +0000 (17:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 4 Feb 1999 17:36:06 +0000 (17:36 +0000)
new frontend-backend interface.

include/ldbm.h

index 7ae5830293f451f5c807b7df974e945ac67a7b72..3f55a6ffeaa2ff3127ff5dba79a6422656755138 100644 (file)
@@ -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 );