summaryrefslogtreecommitdiff
path: root/src/libknot/zone/zone-tree.h
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-10-31 10:39:56 +0100
committerOndřej Surý <ondrej@sury.org>2012-10-31 10:39:56 +0100
commit77bfcd8d02fbe5cae75a41017144f15c5d0bc5f4 (patch)
treec1d837889eda794191f3fd4ef6254a6735d4a45c /src/libknot/zone/zone-tree.h
parent9a7b8a090ba4fa50fc023bdea04e83602a2ad0bb (diff)
downloadknot-77bfcd8d02fbe5cae75a41017144f15c5d0bc5f4.tar.gz
Imported Upstream version 1.1.1upstream/1.1.1
Diffstat (limited to 'src/libknot/zone/zone-tree.h')
-rw-r--r--[-rwxr-xr-x]src/libknot/zone/zone-tree.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libknot/zone/zone-tree.h b/src/libknot/zone/zone-tree.h
index 95b4e23..6c38310 100755..100644
--- a/src/libknot/zone/zone-tree.h
+++ b/src/libknot/zone/zone-tree.h
@@ -54,7 +54,7 @@ typedef TREE_HEAD(knot_zone_tree, knot_zone_tree_node) knot_zone_tree_t;
* \param tree Zone tree structure to initialize.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
*/
int knot_zone_tree_init(knot_zone_tree_t *tree);
@@ -65,7 +65,7 @@ int knot_zone_tree_init(knot_zone_tree_t *tree);
* \param node Node to insert.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
* \retval KNOT_ENOMEM
*/
int knot_zone_tree_insert(knot_zone_tree_t *tree, knot_node_t *node);
@@ -77,7 +77,7 @@ int knot_zone_tree_insert(knot_zone_tree_t *tree, knot_node_t *node);
* \param owner Owner of the node to find.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
* \retval KNOT_ENOMEM
*/
int knot_zone_tree_find(knot_zone_tree_t *tree,
@@ -94,7 +94,7 @@ int knot_zone_tree_find(knot_zone_tree_t *tree,
* \param owner Owner of the node to find.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
* \retval KNOT_ENOMEM
*/
int knot_zone_tree_get(knot_zone_tree_t *tree,
@@ -117,7 +117,7 @@ int knot_zone_tree_get(knot_zone_tree_t *tree,
* \a previous is set properly.
* \retval 0 if the domain name was not found. \a found may hold any (or none)
* node. \a previous is set properly.
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
* \retval KNOT_ENOMEM
*/
int knot_zone_tree_find_less_or_equal(knot_zone_tree_t *tree,
@@ -144,7 +144,7 @@ int knot_zone_tree_find_less_or_equal(knot_zone_tree_t *tree,
* \a previous is set properly.
* \retval 0 if the domain name was not found. \a found may hold any (or none)
* node. \a previous is set properly.
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
* \retval KNOT_ENOMEM
*/
int knot_zone_tree_get_less_or_equal(knot_zone_tree_t *tree,
@@ -180,7 +180,7 @@ int knot_zone_tree_remove(knot_zone_tree_t *tree,
* \param data Arbitrary data to be passed to the function.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
*/
int knot_zone_tree_forward_apply_inorder(knot_zone_tree_t *tree,
void (*function)(
@@ -202,7 +202,7 @@ int knot_zone_tree_forward_apply_inorder(knot_zone_tree_t *tree,
* \param data Arbitrary data to be passed to the function.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
*/
int knot_zone_tree_forward_apply_postorder(knot_zone_tree_t *tree,
void (*function)(
@@ -225,7 +225,7 @@ int knot_zone_tree_forward_apply_postorder(knot_zone_tree_t *tree,
* \param data Arbitrary data to be passed to the function.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
*/
int knot_zone_tree_reverse_apply_inorder(knot_zone_tree_t *tree,
void (*function)(
@@ -248,7 +248,7 @@ int knot_zone_tree_reverse_apply_inorder(knot_zone_tree_t *tree,
* \param data Arbitrary data to be passed to the function.
*
* \retval KNOT_EOK
- * \retval KNOT_EBADARG
+ * \retval KNOT_EINVAL
*/
int knot_zone_tree_reverse_apply_postorder(knot_zone_tree_t *tree,
void (*function)(