From f3ecb701335b1129947127d4c45eef970b66875c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 Jan 2009 16:15:53 +0100 Subject: Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4. --- source3/lib/ldb/include/ldb.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/lib/ldb/include') diff --git a/source3/lib/ldb/include/ldb.h b/source3/lib/ldb/include/ldb.h index d98536c480..113652a1a7 100644 --- a/source3/lib/ldb/include/ldb.h +++ b/source3/lib/ldb/include/ldb.h @@ -988,18 +988,6 @@ 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, TALLOC_CTX *mem_ctx, - struct ldb_result **_res, - const struct ldb_dn *base, - enum ldb_scope scope, - const char * const *attrs, - const char *expression); - -/* - * a useful search function where you can easily define the expression and - * that takes a memory context where results are allocated -*/ - -int ldb_search_exp_fmt(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, struct ldb_result **result, struct ldb_dn *base, enum ldb_scope scope, const char * const *attrs, const char *exp_fmt, ...); -- cgit