Commit e44030c8 authored by Jan Kadlec's avatar Jan Kadlec

node cleanup: renamed data removal function.

parent 369a6e20
......@@ -795,7 +795,7 @@ static int remove_rr(zone_node_t *node, const knot_rrset_t *rr,
}
} else {
// RRSet is empty now, remove it from node, all data freed.
node_remove_rrs(node, rr->type);
node_remove_rdataset(node, rr->type);
}
return KNOT_EOK;
......
......@@ -187,7 +187,7 @@ int node_add_rrset(zone_node_t *node, const knot_rrset_t *rrset, bool *ttl_err)
return add_rrset_no_merge(node, rrset);
}
void node_remove_rrs(zone_node_t *node, uint16_t type)
void node_remove_rdataset(zone_node_t *node, uint16_t type)
{
if (node == NULL) {
return;
......
......@@ -139,7 +139,7 @@ int node_add_rrset(zone_node_t *node, const knot_rrset_t *rrset, bool *ttl_err);
* \param node Node we want to delete from.
* \param type RR type to delete.
*/
void node_remove_rrs(zone_node_t *node, uint16_t type);
void node_remove_rdataset(zone_node_t *node, uint16_t type);
/* ---------------------------- Data getters ---------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment