Added API declaration hm_delete_all_nodes