commit f751cc020f2ccfa165ad5ef2a1dca11a36b56593
parent 731464deb524f48f83c3344f94c80ef07e6f4110
Author: Nick Mathewson <nickm@torproject.org>
Date: Sat, 26 Oct 2019 17:21:18 -0400
Documentation cleanup in confmacros.h
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
@@ -45,7 +45,7 @@
}
/**
- * As CONFIG_VAR_XTYPE, but declares a value using an extension type whose
+ * As CONFIG_VAR_ETYPE, but declares a value using an extension type whose
* type definition is <b>vartype</b>_type_defn.
**/
#define CONFIG_VAR_DEFN(structtype, varname, vartype, membername, \
@@ -61,6 +61,9 @@
CONF_TEST_MEMBERS(structtype, vartype, membername) \
}
+/**
+ * Declare an obsolete configuration variable with a given name.
+ **/
#define CONFIG_VAR_OBSOLETE(varname) \
{ .member = { .name = varname, .type = CONFIG_TYPE_OBSOLETE }, \
.flags = CFLG_GROUP_OBSOLETE \