]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/proto-mdb.h
Happy New Year
[openldap] / servers / slapd / back-mdb / proto-mdb.h
index b6b8d7c8af3e7ed9f1fa142d0a9e4e875415caf9..126eaf0b3fb99fabf5854e329bea63e47d709b6a 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2014 The OpenLDAP Foundation.
+ * Copyright 2000-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -146,6 +146,10 @@ int mdb_dn2id_walk(
        Operation *op,
        struct IdScopes *isc );
 
+void mdb_dn2id_wrestore(
+       Operation *op,
+       struct IdScopes *isc );
+
 MDB_cmp_func mdb_dup_compare;
 
 /*
@@ -164,6 +168,9 @@ int mdb_filter_candidates(
  * id2entry.c
  */
 
+MDB_cmp_func mdb_id2v_compare;
+MDB_cmp_func mdb_id2v_dupsort;
+
 int mdb_id2entry_add(
        Operation *op,
        MDB_txn *tid,
@@ -198,11 +205,14 @@ BI_entry_release_rw mdb_entry_release;
 BI_entry_get_rw mdb_entry_get;
 BI_op_txn mdb_txn;
 
-int mdb_entry_decode( Operation *op, MDB_txn *txn, MDB_val *data, Entry **e );
+int mdb_entry_decode( Operation *op, MDB_txn *txn, MDB_val *data, ID id, Entry **e );
 
 void mdb_reader_flush( MDB_env *env );
 int mdb_opinfo_get( Operation *op, struct mdb_info *mdb, int rdonly, mdb_op_info **moi );
 
+int mdb_mval_put(Operation *op, MDB_cursor *mc, ID id, Attribute *a);
+int mdb_mval_del(Operation *op, MDB_cursor *mc, ID id, Attribute *a);
+
 /*
  * idl.c
  */
@@ -382,6 +392,7 @@ extern BI_tool_entry_put            mdb_tool_entry_put;
 extern BI_tool_entry_reindex           mdb_tool_entry_reindex;
 extern BI_tool_dn2id_get               mdb_tool_dn2id_get;
 extern BI_tool_entry_modify            mdb_tool_entry_modify;
+extern BI_tool_entry_delete            mdb_tool_entry_delete;
 
 extern mdb_idl_keyfunc mdb_tool_idl_add;