[list] typedef function pointer as a type

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>