From 47951fc5d0085e124666b7667715bba98076820e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 Jan 2009 15:18:05 +0100 Subject: Reorder arguments to ldb_search() to match what is in Samba 4. --- source3/lib/ldb/include/ldb.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/lib/ldb/include') diff --git a/source3/lib/ldb/include/ldb.h b/source3/lib/ldb/include/ldb.h index 3891c1c6a3..d98536c480 100644 --- a/source3/lib/ldb/include/ldb.h +++ b/source3/lib/ldb/include/ldb.h @@ -987,11 +987,12 @@ int ldb_build_rename_req(struct ldb_request **ret_req, \note use talloc_free() to free the ldb_result returned */ -int ldb_search(struct ldb_context *ldb, +int ldb_search(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, + struct ldb_result **_res, const struct ldb_dn *base, enum ldb_scope scope, - const char *expression, - const char * const *attrs, struct ldb_result **_res); + const char * const *attrs, + const char *expression); /* * a useful search function where you can easily define the expression and -- cgit