diff options
author | Sumit Bose <sbose@redhat.com> | 2009-10-26 13:03:22 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-29 10:53:06 -0400 |
commit | 841fbb025aabfe0e2836a1ff5cdc9bfba40c9bbe (patch) | |
tree | c0aebe092d62a0b325fc9a53e00afff10af46a0b /server/db/sysdb.h | |
parent | 5984e8ef15ff0888a11383fc655f8a700bc3e6fe (diff) | |
download | sssd-841fbb025aabfe0e2836a1ff5cdc9bfba40c9bbe.tar.gz sssd-841fbb025aabfe0e2836a1ff5cdc9bfba40c9bbe.tar.bz2 sssd-841fbb025aabfe0e2836a1ff5cdc9bfba40c9bbe.zip |
added a ASQ search API for sysdb
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r-- | server/db/sysdb.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h index e1cff852..5c15d3a1 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -555,4 +555,16 @@ struct tevent_req *sysdb_delete_custom_send(TALLOC_CTX *mem_ctx, const char *object_name, const char *subtree_name); int sysdb_delete_custom_recv(struct tevent_req *req); + +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); #endif /* __SYS_DB_H__ */ |