s4-ldb: take advantage of ldb_match_msg_error() in more places
[sfrench/samba-autobuild/.git] / source4 / lib / ldb / include / ldb_module.h
index 18982b975fa8707503f44509cf8d5d1489ff79b5..a708063ed85714dd49e0fe83a2794b27637aef94 100644 (file)
@@ -135,6 +135,13 @@ int ldb_match_msg(struct ldb_context *ldb,
                  struct ldb_dn *base,
                  enum ldb_scope scope);
 
+int ldb_match_msg_error(struct ldb_context *ldb,
+                       const struct ldb_message *msg,
+                       const struct ldb_parse_tree *tree,
+                       struct ldb_dn *base,
+                       enum ldb_scope scope,
+                       bool *matched);
+
 int ldb_match_msg_objectclass(const struct ldb_message *msg,
                              const char *objectclass);