Added API definition hm_delete_all_nodes