summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-28 07:31:42 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-28 07:31:42 -0400
commit4d2c8ca33858bbf360fb4423331dc8fdd363b8ea (patch)
tree6f5bc304f7c9288a4c5fb99c157233c9a0f1117c
parent3479024cb1034dd453fed577b493cbe5515765d3 (diff)
parentf751cc020f2ccfa165ad5ef2a1dca11a36b56593 (diff)
downloadtor-4d2c8ca33858bbf360fb4423331dc8fdd363b8ea.tar.gz
tor-4d2c8ca33858bbf360fb4423331dc8fdd363b8ea.zip
Merge branch 'config_macros_doc_cleanup'
-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 \