]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
trie docs nitpick
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 5 Oct 2018 14:36:10 +0000 (16:36 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 16 Oct 2018 13:35:59 +0000 (15:35 +0200)
lib/generic/trie.h

index 1591c1b4a10141d596dcde251f3ba2ff73d414f9..0550e95a23addd95da0c9db4fd84c207b16a89a0 100644 (file)
@@ -121,6 +121,9 @@ trie_it_t* trie_it_begin(trie_t *tbl);
  *
  * Iteration is in ascending lexicographical order.
  * In particular, the empty string would be considered as the very first.
+ *
+ * \note You may not use this function if the trie's key-set has been modified
+ * during the lifetime of the iterator (modifying values only is OK).
  */
 KR_EXPORT
 void trie_it_next(trie_it_t *it);