]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/proto-bdb.h
Moved IDL cache code to standalone functions.
[openldap] / servers / slapd / back-bdb / proto-bdb.h
index bbfa5b4d20c630ab3da278c79ef6e7926f118506..43a6f5486966f936100ec5315f7ccf0d7e21ffc4 100644 (file)
@@ -145,6 +145,26 @@ void bdb_entry_free ( Entry *e );
  */
 #ifdef SLAP_IDL_CACHE
 int bdb_idl_entry_cmp( const void*, const void* );
+
+int bdb_idl_cache_get(
+       struct bdb_info *bdb,
+       DB *db,
+       DBT *key,
+       ID *ids );
+
+void
+bdb_idl_cache_put(
+       struct bdb_info *bdb,
+       DB              *db,
+       DBT             *key,
+       ID              *ids,
+       int             rc );
+
+void
+bdb_idl_cache_del(
+       struct bdb_info *bdb,
+       DB              *db,
+       DBT             *key );
 #endif
 
 unsigned bdb_idl_search( ID *ids, ID id );