3 * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
16 Entry *bdb_deref_internal_r LDAP_P((
24 #define deref_entry_r( be, e, err, matched, text ) \
25 bdb_deref_internal_r( be, e, NULL, err, matched, text )
26 #define deref_dn_r( be, dn, err, matched, text ) \
27 bdb_deref_internal_r( be, NULL, dn, err, matched, text)
38 Entry * bdb_dn2entry_rw LDAP_P(( Backend *be, DB_TXN *tid,
39 const char *dn, Entry **matched, int rw ));
41 #define dn2entry_r(be, tid, dn, m) bdb_dn2entry_rw((be), (tid), (dn), (m), 0)
42 #define dn2entry_w(be, tid, dn, m) bdb_dn2entry_rw((be), (tid), (dn), (m), 1)
47 void bdb_errcall( const char *pfx, char * msg );
52 int bdb_idl_insert_key(
62 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
67 int bdb_tool_entry_open( BackendDB *be, int mode );
68 int bdb_tool_entry_close( BackendDB *be );
69 ID bdb_tool_entry_next( BackendDB *be );
70 Entry* bdb_tool_entry_get( BackendDB *be, ID id );
71 ID bdb_tool_entry_put( BackendDB *be, Entry *e );
76 #endif /* _PROTO_BDB_H */