summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-06-06 22:26:28 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 12:18:33 -0400
commit34036e5d7b3e4abecff0a697938c36eb1d2a3d17 (patch)
tree278a50a946d448ceca76fb53b8773baa18be448d /src/providers/ldap/ldap_common.h
parentf14b8f9ec42b6fef0e63237b63a028f835916795 (diff)
downloadsssd-34036e5d7b3e4abecff0a697938c36eb1d2a3d17.tar.gz
sssd-34036e5d7b3e4abecff0a697938c36eb1d2a3d17.tar.xz
sssd-34036e5d7b3e4abecff0a697938c36eb1d2a3d17.zip
Add helper function msgs2attrs_array
This function converts a list of ldb_messages into a list of sysdb_attrs. Conflicts: src/providers/ldap/ldap_common.c src/providers/ldap/ldap_common.h
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 9146da5a9..70ffd1485 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -162,4 +162,8 @@ errno_t list_missing_attrs(TALLOC_CTX *mem_ctx,
bool sdap_is_secure_uri(const char *uri);
+errno_t msgs2attrs_array(TALLOC_CTX *mem_ctx, size_t count,
+ struct ldb_message **msgs,
+ struct sysdb_attrs ***attrs);
+
#endif /* _LDAP_COMMON_H_ */