Просмотр исходного кода

Document types for config_get_changes()

Nick Mathewson 4 лет назад
Родитель
Сommit
3a530ae535
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/app/config/confparse.c

+ 3 - 0
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,