summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-09-16 15:22:08 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-16 17:55:49 +0200
commit7d35c7e8c5d2684321be879f7ff67816d4b31f09 (patch)
tree72fd064e188947ebdeadb7e88777ca12853bef44 /src/providers/ldap/sdap_async.h
parent2ef62c64e7f07c8aced3f72850008ecb72860162 (diff)
downloadsssd-7d35c7e8c5d2684321be879f7ff67816d4b31f09.tar.gz
sssd-7d35c7e8c5d2684321be879f7ff67816d4b31f09.tar.xz
sssd-7d35c7e8c5d2684321be879f7ff67816d4b31f09.zip
Add sdap_deref_search_with_filter_send()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r--src/providers/ldap/sdap_async.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h
index 7bb69f2fa..1239f28c1 100644
--- a/src/providers/ldap/sdap_async.h
+++ b/src/providers/ldap/sdap_async.h
@@ -196,6 +196,23 @@ int sdap_get_generic_recv(struct tevent_req *req,
bool sdap_has_deref_support(struct sdap_handle *sh, struct sdap_options *opts);
struct tevent_req *
+sdap_deref_search_with_filter_send(TALLOC_CTX *memctx,
+ struct tevent_context *ev,
+ struct sdap_options *opts,
+ struct sdap_handle *sh,
+ const char *search_base,
+ const char *filter,
+ const char *deref_attr,
+ const char **attrs,
+ int num_maps,
+ struct sdap_attr_map_info *maps,
+ int timeout);
+int sdap_deref_search_with_filter_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ size_t *reply_count,
+ struct sdap_deref_attrs ***reply);
+
+struct tevent_req *
sdap_deref_search_send(TALLOC_CTX *memctx,
struct tevent_context *ev,
struct sdap_options *opts,