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 ));
43 int bdb_dn2id_matched(
62 int bdb_dn2id_children(
77 int bdb_entry_return( BackendDB *be, Entry *e );
82 void bdb_errcall( const char *pfx, char * msg );
87 int bdb_filter_candidates(
101 int bdb_id2entry_update(
106 int bdb_id2entry_delete(
120 unsigned bdb_idl_search( ID *ids, ID id );
122 int bdb_idl_insert_key(
129 int bdb_idl_delete_key(
143 bdb_idl_intersection(
154 ID bdb_idl_first( ID *ids, ID *cursor );
155 ID bdb_idl_next( ID *ids, ID *cursor );
164 AttributeDescription *desc,
168 struct berval **prefix );
183 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
184 int bdb_last_id( BackendDB *be, DB_TXN *tid );
189 int bdb_modify_internal(
194 Modifications *modlist,
209 struct berval *reqdata,
211 struct berval **rspdata,
212 LDAPControl *** rspctrls,
214 struct berval *** refs );
219 int bdb_tool_entry_open( BackendDB *be, int mode );
220 int bdb_tool_entry_close( BackendDB *be );
221 ID bdb_tool_entry_next( BackendDB *be );
222 Entry* bdb_tool_entry_get( BackendDB *be, ID id );
223 ID bdb_tool_entry_put( BackendDB *be, Entry *e );
224 int bdb_tool_entry_reindex( BackendDB *be, ID id );
229 #endif /* _PROTO_BDB_H */