[tor-commits] [tor/master] Document types for config_get_changes()

dgoulet at torproject.org dgoulet at torproject.org
Wed Sep 4 14:39:08 UTC 2019


commit 3a530ae5352cb64e176b889e5449913416c372c0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 26 19:19:09 2019 -0400

    Document types for config_get_changes()
---
 src/app/config/confparse.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index 95e73eeab..324009b59 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,





More information about the tor-commits mailing list