Added definitions for pal_fget_line_count and pal_freadline_v2.