summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-10-17 13:52:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-20 16:15:32 +0200
commit4777af0b8f9a3f418a54f0d4bf7eb72b896dabb5 (patch)
tree4420b85dde9058114427b02b05c7fabcb3aa84d6 /src/db/sysdb.h
parentc2788a00c49b14fc56690af93dc1ac60d6ee6c70 (diff)
downloadsssd-4777af0b8f9a3f418a54f0d4bf7eb72b896dabb5.tar.gz
sssd-4777af0b8f9a3f418a54f0d4bf7eb72b896dabb5.tar.xz
sssd-4777af0b8f9a3f418a54f0d4bf7eb72b896dabb5.zip
sysdb: add sysdb_enumpw/grent_with_views()
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index f7e507c91..fa5b714e6 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -543,6 +543,10 @@ int sysdb_enumpwent(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
struct ldb_result **res);
+int sysdb_enumpwent_with_views(TALLOC_CTX *mem_ctx,
+ struct sss_domain_info *domain,
+ struct ldb_result **res);
+
int sysdb_getgrnam(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
const char *name,
@@ -557,6 +561,10 @@ int sysdb_enumgrent(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
struct ldb_result **res);
+int sysdb_enumgrent_with_views(TALLOC_CTX *mem_ctx,
+ struct sss_domain_info *domain,
+ struct ldb_result **res);
+
struct sysdb_netgroup_ctx {
enum {SYSDB_NETGROUP_TRIPLE_VAL, SYSDB_NETGROUP_GROUP_VAL} type;
union {