mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
r20046: Add ldb_search_exp_fmt and port comment to 4
This commit is contained in:
parent
0742faaacd
commit
1fe41c96f5
@ -989,6 +989,16 @@ int ldb_search(struct ldb_context *ldb,
|
||||
const char *expression,
|
||||
const char * const *attrs, struct ldb_result **res);
|
||||
|
||||
/*
|
||||
* 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, ...);
|
||||
|
||||
/*
|
||||
like ldb_search() but takes a parse tree
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user