3 * Copyright 2000-2002 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( struct bdb_info *bdb,
33 AttributeDescription *desc,
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 ));
46 BI_acl_attribute bdb_attribute;
60 int bdb_dn2entry LDAP_P(( BackendDB *be, DB_TXN *tid,
61 struct berval *dn, Entry **e, Entry **matched, int flags ));
72 int bdb_dn2id_matched(
91 int bdb_dn2id_children(
106 int bdb_entry_return( BackendDB *be, Entry *e );
107 BI_entry_release_rw bdb_entry_release;
112 void bdb_errcall( const char *pfx, char * msg );
117 int bdb_filter_candidates(
127 BI_acl_group bdb_group;
132 int bdb_id2entry_add(
137 int bdb_id2entry_update(
142 int bdb_id2entry_delete(
156 unsigned bdb_idl_search( ID *ids, ID id );
163 int bdb_idl_fetch_key(
170 int bdb_idl_insert_key(
177 int bdb_idl_delete_key(
193 bdb_idl_intersection(
202 ID bdb_idl_first( ID *ids, ID *cursor );
203 ID bdb_idl_next( ID *ids, ID *cursor );
210 bdb_index_is_indexed LDAP_P((
212 AttributeDescription *desc ));
215 bdb_index_param LDAP_P((
217 AttributeDescription *desc,
221 struct berval *prefix ));
224 bdb_index_values LDAP_P((
227 AttributeDescription *desc,
232 int bdb_index_entry LDAP_P(( Backend *be, DB_TXN *t,
233 int r, Entry *e, Attribute *ap ));
235 #define bdb_index_entry_add(be,t,e,ap) \
236 bdb_index_entry((be),(t),SLAP_INDEX_ADD_OP,(e),(ap))
237 #define bdb_index_entry_del(be,t,e,ap) \
238 bdb_index_entry((be),(t),SLAP_INDEX_DELETE_OP,(e),(ap))
263 int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *id );
264 int bdb_last_id( BackendDB *be, DB_TXN *tid );
269 int bdb_modify_internal(
274 Modifications *modlist,
283 BI_op_extended bdb_exop_passwd;
287 #endif /* _PROTO_BDB_H */