diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-12-05 15:51:35 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-16 14:46:17 -0500 |
commit | 75a43c7f91fcb27dee75976cc7c094dd5fa589f6 (patch) | |
tree | a1c05b7934e12f3bf8a561eae2d33a1f7b09e97e /src/db/sysdb.h | |
parent | 4e9631a9f1ae87317eef53145622099c46196b56 (diff) | |
download | sssd_unused-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.tar.gz sssd_unused-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.tar.xz sssd_unused-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.zip |
Export the function to convert ldb_result to sysdb_attrs
It will be reused later in the sudo responder
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 6094a4aa..3d2a7682 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -254,6 +254,10 @@ errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx, const char *name, const char **_cname); +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); |