summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 5fc36ab5..24a20bfc 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -249,6 +249,10 @@ errno_t sysdb_attrs_primary_name_list(struct sysdb_ctx *sysdb,
const char *ldap_attr,
char ***name_list);
+errno_t sysdb_msg2attrs(TALLOC_CTX *mem_ctx, size_t count,
+ struct ldb_message **msgs,
+ struct sysdb_attrs ***attrs);
+
/* convert an ldb error into an errno error */
int sysdb_error_to_errno(int ldberr);