From 0cbc4012e85c275c64ad551ba4484ee5f505fe4c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 19 Jun 2009 09:02:14 +0200 Subject: conf: added "used" flag to struct block_param --- src/conf.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/conf.h') 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); -- cgit v1.2.3