summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-17 10:20:04 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-20 07:21:45 -0400
commit0a4b0580d8f5de1733ea065553992edfcb793de5 (patch)
tree2669ca1068821d377056c21f395d337ee42218ae /src/providers/ldap/sdap.h
parent4dbc76b8784eed6dbf4d9b40c0f59fd0bceeeec7 (diff)
downloadsssd-0a4b0580d8f5de1733ea065553992edfcb793de5.tar.gz
sssd-0a4b0580d8f5de1733ea065553992edfcb793de5.tar.xz
sssd-0a4b0580d8f5de1733ea065553992edfcb793de5.zip
Generic dereference data structures and utilities
These will be shared by both dereference methods in a later patch.
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r--src/providers/ldap/sdap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index c00b3d3e6..cef2d23ae 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -305,6 +305,16 @@ struct sdap_server_opts {
struct sdap_id_ctx;
+struct sdap_attr_map_info {
+ struct sdap_attr_map *map;
+ int num_attrs;
+};
+
+struct sdap_deref_attrs {
+ struct sdap_attr_map *map;
+ struct sysdb_attrs *attrs;
+};
+
int sdap_get_map(TALLOC_CTX *memctx,
struct confdb_ctx *cdb,
const char *conf_path,