]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/proto-back-ldbm.h
Change overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'
[openldap] / servers / slapd / back-ldbm / proto-back-ldbm.h
index 96eabe58505818555a0a20142619405dcdf9343f..c5d8ce936a072b75afcd1c74f7ad5e3f35733fb2 100644 (file)
@@ -47,6 +47,7 @@ int cache_delete_entry LDAP_P(( struct cache *cache, Entry *e ));
 struct dbcache * ldbm_cache_open LDAP_P(( Backend *be, char *name, char *suffix,
  int flags ));
 void ldbm_cache_close LDAP_P(( Backend *be, struct dbcache *db ));
+void ldbm_cache_really_close LDAP_P(( Backend *be, struct dbcache *db ));
 void ldbm_cache_flush_all LDAP_P(( Backend *be ));
 Datum ldbm_cache_fetch LDAP_P(( struct dbcache *db, Datum key ));
 int ldbm_cache_store LDAP_P(( struct dbcache *db, Datum key, Datum data, int flags ));
@@ -73,6 +74,7 @@ IDList * filter_candidates LDAP_P(( Backend *be, Filter *f ));
  */
 
 int id2children_add LDAP_P(( Backend *be, Entry *p, Entry *e ));
+int id2children_remove LDAP_P(( Backend *be, Entry *p, Entry *e ));
 int has_children LDAP_P(( Backend *be, Entry *p ));
 
 /*
@@ -95,6 +97,7 @@ void idl_free LDAP_P(( IDList *idl ));
 IDList * idl_fetch LDAP_P(( Backend *be, struct dbcache *db, Datum key ));
 int idl_insert_key LDAP_P(( Backend *be, struct dbcache *db, Datum key, ID id ));
 int idl_insert LDAP_P(( IDList **idl, ID id, int maxids ));
+int idl_delete_key LDAP_P(( Backend *be, struct dbcache *db, Datum key, ID id ));
 IDList * idl_intersection LDAP_P(( Backend *be, IDList *a, IDList *b ));
 IDList * idl_union LDAP_P(( Backend *be, IDList *a, IDList *b ));
 IDList * idl_notin LDAP_P(( Backend *be, IDList *a, IDList *b ));
@@ -106,7 +109,7 @@ ID idl_nextid LDAP_P(( IDList *idl, ID id ));
  */
 
 int index_add_entry LDAP_P(( Backend *be, Entry *e ));
-int index_add_mods LDAP_P(( Backend *be, LDAPMod *mods, ID id ));
+int index_add_mods LDAP_P(( Backend *be, LDAPModList *ml, ID id ));
 IDList * index_read LDAP_P(( Backend *be, char *type, int indextype, char *val ));
 int index_add_values LDAP_P(( Backend *be, char *type, struct berval **vals, ID  id ));