+static gchar hb_csv_get_separator(void)
+{
+static const gchar sep[] = PRF_DTEX_CSVSEP_BUFFER;
+ return sep[PREFS->dtex_csvsep];
+}
+
+
+gboolean hb_csv_test_line(gchar *rawline)
+{
+gchar **str_array;
+gchar sep;
+gboolean isvalid = FALSE;
+
+ hb_string_strip_crlf(rawline);
+ sep = hb_csv_get_separator();
+ str_array = hb_csv_row_get(rawline, sep, 8);
+ isvalid = hb_csv_row_valid(str_array, 8, csvtype);
+
+ g_strfreev (str_array);
+
+ return isvalid;
+}
+
+