summaryrefslogtreecommitdiff
path: root/lib/util/parmlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/parmlist.h')
-rw-r--r--lib/util/parmlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/parmlist.h b/lib/util/parmlist.h
index 47d2f89d63..b320afee47 100644
--- a/lib/util/parmlist.h
+++ b/lib/util/parmlist.h
@@ -50,4 +50,7 @@ const char **parmlist_get_string_list(struct parmlist *ctx, const char *name,
/** Retrieve boolean from a parameter list. If not set, return default_v. */
bool parmlist_get_bool(struct parmlist *ctx, const char *name, bool default_v);
+/** Set a parameter. */
+int parmlist_set_string(struct parmlist *ctx, const char *name, const char *value);
+
#endif /* _PARMLIST_H */