3 * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
15 Entry *bdb_deref_internal_r LDAP_P((
23 #define deref_entry_r( be, e, err, matched, text ) \
24 bdb_deref_internal_r( be, e, NULL, err, matched, text )
25 #define deref_dn_r( be, dn, err, matched, text ) \
26 bdb_deref_internal_r( be, NULL, dn, err, matched, text)
37 Entry * bdb_dn2entry_rw LDAP_P(( Backend *be, DB_TXN *tid,
38 const char *dn, Entry **matched, int rw ));
40 #define dn2entry_r(be, tid, dn, m) bdb_dn2entry_rw((be), (tid), (dn), (m), 0)
41 #define dn2entry_w(be, tid, dn, m) bdb_dn2entry_rw((be), (tid), (dn), (m), 1)
46 int bdb_entry_return( BackendDB *be, Entry *e );
51 void bdb_errcall( const char *pfx, char * msg );
64 int bdb_idl_insert_key(
74 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
79 int bdb_tool_entry_open( BackendDB *be, int mode );
80 int bdb_tool_entry_close( BackendDB *be );
81 ID bdb_tool_entry_next( BackendDB *be );
82 Entry* bdb_tool_entry_get( BackendDB *be, ID id );
83 ID bdb_tool_entry_put( BackendDB *be, Entry *e );
88 #endif /* _PROTO_BDB_H */