aboutsummaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-06-19 09:02:14 +0200
committerMax Kellermann <max@duempel.org>2009-06-25 08:41:23 +0200
commit0cbc4012e85c275c64ad551ba4484ee5f505fe4c (patch)
tree62e18b8fdcfe687614e10f64bbc30a5e676d8cc8 /src/conf.h
parent8074b826530231755d7c1374eaa94802d7d24156 (diff)
conf: added "used" flag to struct block_param
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 017a8c31..1b3e074e 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -75,6 +75,12 @@ struct block_param {
char *name;
char *value;
int line;
+
+ /**
+ * This flag is false when nobody has queried the value of
+ * this option yet.
+ */
+ bool used;
};
struct config_param {
@@ -83,6 +89,12 @@ struct config_param {
struct block_param *block_params;
unsigned num_block_params;
+
+ /**
+ * This flag is false when nobody has queried the value of
+ * this option yet.
+ */
+ bool used;
};
void config_global_init(void);