get_lpt_node_type
node_type = get_lpt_node_type(c, buf, &node_num);
node_type = get_lpt_node_type(c, p, &node_num);