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)
31 int bdb_dn2entry LDAP_P(( BackendDB *be, DB_TXN *tid,
32 const char *dn, Entry **e, Entry **matched, int flags ));
34 #define dn2entry_r(be, tid, dn, p, m) \
35 bdb_dn2entry((be), (tid), (dn), (p), (m), 0 )
37 #define dn2entry_w(be, tid, dn, p, m) \
38 bdb_dn2entry((be), (tid), (dn), (p), (m), DB_RMW )
49 int bdb_dn2id_matched(
68 int bdb_dn2id_children(
76 int bdb_entry_return( BackendDB *be, Entry *e );
81 void bdb_errcall( const char *pfx, char * msg );
91 int bdb_id2entry_delete(
105 unsigned bdb_idl_search( ID *ids, ID id );
107 int bdb_idl_insert_key(
114 int bdb_idl_delete_key(
124 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
129 int bdb_tool_entry_open( BackendDB *be, int mode );
130 int bdb_tool_entry_close( BackendDB *be );
131 ID bdb_tool_entry_next( BackendDB *be );
132 Entry* bdb_tool_entry_get( BackendDB *be, ID id );
133 ID bdb_tool_entry_put( BackendDB *be, Entry *e );
134 int bdb_tool_entry_reindex( BackendDB *be, ID id );
139 #endif /* _PROTO_BDB_H */