summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ldbutil.h')
-rw-r--r--source4/lib/ldb/tools/ldbutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/ldbutil.h b/source4/lib/ldb/tools/ldbutil.h
index 7747dbec64..f8d3f3a210 100644
--- a/source4/lib/ldb/tools/ldbutil.h
+++ b/source4/lib/ldb/tools/ldbutil.h
@@ -39,3 +39,8 @@ int ldb_delete_ctrl(struct ldb_context *ldb, struct ldb_dn *dn,
int ldb_modify_ctrl(struct ldb_context *ldb,
const struct ldb_message *message,
struct ldb_control **controls);
+int ldb_search_ctrl(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
+ struct ldb_result **result, struct ldb_dn *base,
+ enum ldb_scope scope, const char * const *attrs,
+ struct ldb_control **controls,
+ const char *exp_fmt, ...);