summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-07-05 20:44:00 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-07-06 11:44:46 -0400
commita6cbaf2932762e3e191a6bec252afec3c91bf97c (patch)
tree695c3ccd7ec50a56a9919856e6614a617cbafc9f /src/confdb/confdb.h
parent03532fb1cbb7e8c1d5cf2e93aa3719f926631cab (diff)
downloadsssd-a6cbaf2932762e3e191a6bec252afec3c91bf97c.tar.gz
sssd-a6cbaf2932762e3e191a6bec252afec3c91bf97c.tar.xz
sssd-a6cbaf2932762e3e191a6bec252afec3c91bf97c.zip
CONFDB: Add the ability to set a boolean value in the confdb
Diffstat (limited to 'src/confdb/confdb.h')
-rw-r--r--src/confdb/confdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index cdbd1ff12..8ed23565b 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -414,6 +414,11 @@ int confdb_get_bool(struct confdb_ctx *cdb,
const char *section, const char *attribute,
bool defval, bool *result);
+int confdb_set_bool(struct confdb_ctx *cdb,
+ const char *section,
+ const char *attribute,
+ bool val);
+
/**
* @brief Convenience function to retrieve a single-valued attribute as a
* null-terminated array of strings