]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/proto-mdb.h
ITS#8037 - Add support for relax control to delta-syncrepl
[openldap] / servers / slapd / back-mdb / proto-mdb.h
index 5228d26a82eb43166e800f0e56f22204d969771e..fbbbe90adbf8d201e9590d43269d0bb572e3d579 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2013 The OpenLDAP Foundation.
+ * Copyright 2000-2017 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -138,10 +138,18 @@ int mdb_idscopes(
        Operation *op,
        struct IdScopes *isc );
 
+int mdb_idscopechk(
+       Operation *op,
+       struct IdScopes *isc );
+
 int mdb_dn2id_walk(
        Operation *op,
        struct IdScopes *isc );
 
+void mdb_dn2id_wrestore(
+       Operation *op,
+       struct IdScopes *isc );
+
 MDB_cmp_func mdb_dup_compare;
 
 /*
@@ -160,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,
@@ -192,12 +203,16 @@ int mdb_id2edata(
 int mdb_entry_return( Operation *op, Entry *e );
 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_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
  */
@@ -377,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;