소스 검색

Document types for config_get_changes()

Nick Mathewson 4 년 전
부모
커밋
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,