standard callback function for wp_list_comments

It sounds to me like you’re wanting to extend the default comments walker with your own:

class My_Walker_Comment extends Walker_Comment {
  // giddy up
}

If so, this answer explains it quite well.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)