diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-02 22:24:47 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-12 09:22:14 -0400 |
commit | 4c898e1bb31ccf2af4039a7c3c5fcd82fb5667ed (patch) | |
tree | c144619a8fbced21eb63b2f7de2f47f5ec688e54 /src/db/sysdb.h | |
parent | a137f77b4ddff7f0651ffda710cec1f01618d7a9 (diff) | |
download | sssd-4c898e1bb31ccf2af4039a7c3c5fcd82fb5667ed.tar.gz sssd-4c898e1bb31ccf2af4039a7c3c5fcd82fb5667ed.tar.bz2 sssd-4c898e1bb31ccf2af4039a7c3c5fcd82fb5667ed.zip |
sysdb: convert sysdb_asq_search
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 758a3c59..f82f3115 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -547,17 +547,15 @@ int sysdb_delete_custom(TALLOC_CTX *mem_ctx, const char *object_name, const char *subtree_name); -struct tevent_req *sysdb_asq_search_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct sysdb_ctx *sysdb, - struct sysdb_handle *handle, - struct sss_domain_info *domain, - struct ldb_dn *base_dn, - const char *expression, - const char *asq_attribute, - const char **attrs); -int sysdb_asq_search_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, - size_t *msgs_count, struct ldb_message ***msgs); +int sysdb_asq_search(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, + struct ldb_dn *base_dn, + const char *expression, + const char *asq_attribute, + const char **attrs, + size_t *msgs_count, + struct ldb_message ***msgs); struct tevent_req *sysdb_search_users_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, |