aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/confparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/confparse.c')
-rw-r--r--src/app/config/confparse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index 699fc0e3dd..7127e62cde 100644
--- a/src/app/config/confparse.c
+++ b/src/app/config/confparse.c
@@ -164,6 +164,11 @@ config_var_is_contained(const config_var_t *var)
{
return struct_var_is_contained(&var->member);
}
+bool
+config_var_is_invisible(const config_var_t *var)
+{
+ return (var->flags & CVFLAG_INVISIBLE) != 0;
+}
/*
* Functions to assign config options.