aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-26 17:21:18 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-26 17:24:22 -0400
commitf751cc020f2ccfa165ad5ef2a1dca11a36b56593 (patch)
treed09db3283e23efcd1f717893b778b7532cbb94e1 /src/lib/conf
parent731464deb524f48f83c3344f94c80ef07e6f4110 (diff)
downloadtor-f751cc020f2ccfa165ad5ef2a1dca11a36b56593.tar.gz
tor-f751cc020f2ccfa165ad5ef2a1dca11a36b56593.zip
Documentation cleanup in confmacros.h
Diffstat (limited to 'src/lib/conf')
-rw-r--r--src/lib/conf/confmacros.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
index 67082454a2..10de1fbcee 100644
--- 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 \