summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-28 11:40:00 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-31 09:37:41 -0500
commit796463906a54e259bd5b582ce84af4297a58eafc (patch)
treeee032e15dd5d0b4bfd08d6db212e938d054cd9f0 /src/providers/ldap/sdap_async.h
parent48b6eab1b369107af0d568e016a87637b7affc55 (diff)
downloadsssd-796463906a54e259bd5b582ce84af4297a58eafc.tar.gz
sssd-796463906a54e259bd5b582ce84af4297a58eafc.tar.bz2
sssd-796463906a54e259bd5b582ce84af4297a58eafc.zip
LDAP: Add support for service lookups (non-enum)
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 2fd606bc..abf16b0c 100644
--- a/src/providers/ldap/sdap_async.h
+++ b/src/providers/ldap/sdap_async.h
@@ -211,4 +211,21 @@ errno_t sdap_save_all_names(const char *name,
bool lowercase,
struct sysdb_attrs *attrs);
+struct tevent_req *
+sdap_get_services_send(TALLOC_CTX *memctx,
+ struct tevent_context *ev,
+ struct sss_domain_info *dom,
+ struct sysdb_ctx *sysdb,
+ struct sdap_options *opts,
+ struct sdap_search_base **search_bases,
+ struct sdap_handle *sh,
+ const char **attrs,
+ const char *filter,
+ int timeout,
+ bool enumeration);
+errno_t
+sdap_get_services_recv(TALLOC_CTX *mem_ctx,
+ struct tevent_req *req,
+ char **usn_value);
+
#endif /* _SDAP_ASYNC_H_ */