summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-08-26 19:19:09 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-28 09:42:17 -0400
commit3a530ae5352cb64e176b889e5449913416c372c0 (patch)
tree8ebdd68f2318ac8347d18061dd7a17be3123aeaa /src/app
parent760d0c056fafdcefd9ac58d48f8ccf473d0ea877 (diff)
downloadtor-3a530ae5352cb64e176b889e5449913416c372c0.tar.gz
tor-3a530ae5352cb64e176b889e5449913416c372c0.zip
Document types for config_get_changes()
Diffstat (limited to 'src/app')
-rw-r--r--src/app/config/confparse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index 95e73eeab5..324009b597 100644
--- a/src/app/config/confparse.c
+++ b/src/app/config/confparse.c
@@ -951,6 +951,9 @@ config_is_same(const config_mgr_t *mgr,
* Return a list of the options which have changed between <b>options1</b> and
* <b>options2</b>. If an option has reverted to its default value, it has a
* value entry of NULL.
+ *
+ * <b>options1</b> and <b>options2</b> must be top-level configuration objects
+ * of the type managed by <b>mgr</b>.
**/
config_line_t *
config_get_changes(const config_mgr_t *mgr,