summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-07-23 13:20:40 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-07-30 15:57:57 -0400
commit43be5d34c35874326a6d882181c024cbf09bad48 (patch)
tree2a4271ef18cfc4aa249317d0b06ec30c3b9bfa83 /src/db/sysdb.h
parentef73b99b4feb506200291615a0093246a3bdc991 (diff)
downloadsssd-43be5d34c35874326a6d882181c024cbf09bad48.tar.gz
sssd-43be5d34c35874326a6d882181c024cbf09bad48.tar.xz
sssd-43be5d34c35874326a6d882181c024cbf09bad48.zip
Add sysdb_attrs_to_list() utility function
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 50427d613..fee8e34a2 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -652,4 +652,10 @@ struct tevent_req *sysdb_delete_group_send(TALLOC_CTX *mem_ctx,
const char *name, gid_t gid);
int sysdb_delete_group_recv(struct tevent_req *req);
+errno_t sysdb_attrs_to_list(TALLOC_CTX *memctx,
+ struct sysdb_attrs **attrs,
+ int attr_count,
+ const char *attr_name,
+ char ***_list);
+
#endif /* __SYS_DB_H__ */