summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.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/ldap_common.h
parent48b6eab1b369107af0d568e016a87637b7affc55 (diff)
downloadsssd-796463906a54e259bd5b582ce84af4297a58eafc.tar.gz
sssd-796463906a54e259bd5b582ce84af4297a58eafc.tar.xz
sssd-796463906a54e259bd5b582ce84af4297a58eafc.zip
LDAP: Add support for service lookups (non-enum)
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 0ab0a5e12..cda21da41 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -155,6 +155,18 @@ struct tevent_req *ldap_netgroup_get_send(TALLOC_CTX *memctx,
struct sdap_id_ctx *ctx,
const char *name);
int ldap_netgroup_get_recv(struct tevent_req *req, int *dp_error_out);
+
+struct tevent_req *
+services_get_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct sdap_id_ctx *id_ctx,
+ const char *name,
+ const char *protocol,
+ int filter_type);
+
+errno_t
+services_get_recv(struct tevent_req *req, int *dp_error_out);
+
/* setup child logging */
int setup_child(struct sdap_id_ctx *ctx);