summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-23 07:08:01 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-06-02 14:07:45 -0400
commitba33be9b40ecbe6f98a52025348dbcff43273b40 (patch)
treeb74faf15f1cc71c5bf18c04d07ed4c8562dd3a83 /src/db/sysdb.h
parent11ce5aed0bd637e036e743e3f6ab276c7107f641 (diff)
downloadsssd_unused-ba33be9b40ecbe6f98a52025348dbcff43273b40.tar.gz
sssd_unused-ba33be9b40ecbe6f98a52025348dbcff43273b40.tar.xz
sssd_unused-ba33be9b40ecbe6f98a52025348dbcff43273b40.zip
Added sysdb_attrs_get_bool() function
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 190e8120..68fc6986 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -207,6 +207,8 @@ int sysdb_attrs_get_string(struct sysdb_attrs *attrs, const char *name,
const char **string);
int sysdb_attrs_get_string_array(struct sysdb_attrs *attrs, const char *name,
TALLOC_CTX *mem_ctx, const char ***string);
+errno_t sysdb_attrs_get_bool(struct sysdb_attrs *attrs, const char *name,
+ bool *value);
int sysdb_attrs_get_uint32_t(struct sysdb_attrs *attrs, const char *name,
uint32_t *value);