From 77bfcd8d02fbe5cae75a41017144f15c5d0bc5f4 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Wed, 31 Oct 2012 10:39:56 +0100 Subject: Imported Upstream version 1.1.1 --- src/libknot/zone/zone-tree.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) mode change 100755 => 100644 src/libknot/zone/zone-tree.h (limited to 'src/libknot/zone/zone-tree.h') diff --git a/src/libknot/zone/zone-tree.h b/src/libknot/zone/zone-tree.h old mode 100755 new mode 100644 index 95b4e23..6c38310 --- 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)( -- cgit v1.2.3