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)
32 void bdb_attr_mask LDAP_P(( struct bdb_info *bdb,
34 slap_mask_t *indexmask ));
36 int bdb_attr_index_config LDAP_P(( struct bdb_info *bdb,
37 const char *fname, int lineno,
38 int argc, char **argv ));
40 void bdb_attr_index_destroy LDAP_P(( Avlnode *tree ));
45 int bdb_dn2entry LDAP_P(( BackendDB *be, DB_TXN *tid,
46 const char *dn, Entry **e, Entry **matched, int flags ));
57 int bdb_dn2id_matched(
76 int bdb_dn2id_children(
91 int bdb_entry_return( BackendDB *be, Entry *e );
96 void bdb_errcall( const char *pfx, char * msg );
101 int bdb_filter_candidates(
110 int bdb_id2entry_add(
115 int bdb_id2entry_update(
120 int bdb_id2entry_delete(
134 unsigned bdb_idl_search( ID *ids, ID id );
136 int bdb_idl_insert_key(
143 int bdb_idl_delete_key(
157 bdb_idl_intersection(
168 ID bdb_idl_first( ID *ids, ID *cursor );
169 ID bdb_idl_next( ID *ids, ID *cursor );
178 AttributeDescription *desc,
182 struct berval **prefix );
197 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
198 int bdb_last_id( BackendDB *be, DB_TXN *tid );
203 int bdb_modify_internal(
208 Modifications *modlist,
223 struct berval *reqdata,
225 struct berval **rspdata,
226 LDAPControl *** rspctrls,
228 struct berval *** refs );
233 int bdb_tool_entry_open( BackendDB *be, int mode );
234 int bdb_tool_entry_close( BackendDB *be );
235 ID bdb_tool_entry_next( BackendDB *be );
236 Entry* bdb_tool_entry_get( BackendDB *be, ID id );
237 ID bdb_tool_entry_put( BackendDB *be, Entry *e );
238 int bdb_tool_entry_reindex( BackendDB *be, ID id );
243 #endif /* _PROTO_BDB_H */