From a6cbaf2932762e3e191a6bec252afec3c91bf97c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 5 Jul 2012 20:44:00 -0400 Subject: CONFDB: Add the ability to set a boolean value in the confdb --- src/confdb/confdb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/confdb/confdb.h') 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 -- cgit