fhl                57 lib/filehighlight/common.c mc_fhl_array_free (mc_fhl_t * fhl)
fhl                59 lib/filehighlight/common.c     if (fhl->filters != NULL)
fhl                61 lib/filehighlight/common.c         g_ptr_array_foreach (fhl->filters, (GFunc) mc_fhl_filter_free, NULL);
fhl                62 lib/filehighlight/common.c         fhl->filters = (GPtrArray *) g_ptr_array_free (fhl->filters, TRUE);
fhl                73 lib/filehighlight/common.c     mc_fhl_t *fhl;
fhl                75 lib/filehighlight/common.c     fhl = g_try_new0 (mc_fhl_t, 1);
fhl                76 lib/filehighlight/common.c     if (fhl == NULL)
fhl                80 lib/filehighlight/common.c         return fhl;
fhl                82 lib/filehighlight/common.c     if (!mc_fhl_init_from_standard_files (fhl))
fhl                84 lib/filehighlight/common.c         g_free (fhl);
fhl                88 lib/filehighlight/common.c     if (!mc_fhl_parse_ini_file (fhl))
fhl                90 lib/filehighlight/common.c         mc_fhl_free (&fhl);
fhl                94 lib/filehighlight/common.c     return fhl;
fhl               100 lib/filehighlight/common.c mc_fhl_free (mc_fhl_t ** fhl)
fhl               102 lib/filehighlight/common.c     if (fhl == NULL || *fhl == NULL)
fhl               105 lib/filehighlight/common.c     mc_fhl_clear (*fhl);
fhl               107 lib/filehighlight/common.c     MC_PTR_FREE (*fhl);
fhl               113 lib/filehighlight/common.c mc_fhl_clear (mc_fhl_t * fhl)
fhl               115 lib/filehighlight/common.c     if (fhl != NULL)
fhl               117 lib/filehighlight/common.c         mc_config_deinit (fhl->config);
fhl               118 lib/filehighlight/common.c         mc_fhl_array_free (fhl);
fhl               159 lib/filehighlight/get-color.c mc_fhl_get_color_filetype (mc_fhl_filter_t * mc_filter, mc_fhl_t * fhl, file_entry_t * fe)
fhl               162 lib/filehighlight/get-color.c     (void) fhl;
fhl               236 lib/filehighlight/get-color.c mc_fhl_get_color_regexp (mc_fhl_filter_t * mc_filter, mc_fhl_t * fhl, file_entry_t * fe)
fhl               238 lib/filehighlight/get-color.c     (void) fhl;
fhl               255 lib/filehighlight/get-color.c mc_fhl_get_color (mc_fhl_t * fhl, file_entry_t * fe)
fhl               260 lib/filehighlight/get-color.c     if (fhl == NULL)
fhl               263 lib/filehighlight/get-color.c     for (i = 0; i < fhl->filters->len; i++)
fhl               267 lib/filehighlight/get-color.c         mc_filter = (mc_fhl_filter_t *) g_ptr_array_index (fhl->filters, i);
fhl               271 lib/filehighlight/get-color.c             ret = mc_fhl_get_color_filetype (mc_filter, fhl, fe);
fhl               277 lib/filehighlight/get-color.c             ret = mc_fhl_get_color_regexp (mc_filter, fhl, fe);
fhl                51 lib/filehighlight/ini-file-read.c mc_fhl_parse_fill_color_info (mc_fhl_filter_t * mc_filter, mc_fhl_t * fhl, const gchar * group_name)
fhl                53 lib/filehighlight/ini-file-read.c     (void) fhl;
fhl                60 lib/filehighlight/ini-file-read.c mc_fhl_parse_get_file_type_id (mc_fhl_t * fhl, const gchar * group_name)
fhl                74 lib/filehighlight/ini-file-read.c     gchar *param_type = mc_config_get_string (fhl->config, group_name, "type", "");
fhl                94 lib/filehighlight/ini-file-read.c     mc_fhl_parse_fill_color_info (mc_filter, fhl, group_name);
fhl                96 lib/filehighlight/ini-file-read.c     g_ptr_array_add (fhl->filters, (gpointer) mc_filter);
fhl               103 lib/filehighlight/ini-file-read.c mc_fhl_parse_get_regexp (mc_fhl_t * fhl, const gchar * group_name)
fhl               106 lib/filehighlight/ini-file-read.c     gchar *regexp = mc_config_get_string (fhl->config, group_name, "regexp", "");
fhl               120 lib/filehighlight/ini-file-read.c     mc_fhl_parse_fill_color_info (mc_filter, fhl, group_name);
fhl               121 lib/filehighlight/ini-file-read.c     g_ptr_array_add (fhl->filters, (gpointer) mc_filter);
fhl               129 lib/filehighlight/ini-file-read.c mc_fhl_parse_get_extensions (mc_fhl_t * fhl, const gchar * group_name)
fhl               135 lib/filehighlight/ini-file-read.c     exts_orig = mc_config_get_string_list (fhl->config, group_name, "extensions", NULL);
fhl               163 lib/filehighlight/ini-file-read.c         mc_config_get_bool (fhl->config, group_name, "extensions_case", FALSE);
fhl               166 lib/filehighlight/ini-file-read.c     mc_fhl_parse_fill_color_info (mc_filter, fhl, group_name);
fhl               167 lib/filehighlight/ini-file-read.c     g_ptr_array_add (fhl->filters, (gpointer) mc_filter);
fhl               177 lib/filehighlight/ini-file-read.c mc_fhl_read_ini_file (mc_fhl_t * fhl, const gchar * filename)
fhl               179 lib/filehighlight/ini-file-read.c     if (fhl == NULL || filename == NULL || !exist_file (filename))
fhl               182 lib/filehighlight/ini-file-read.c     if (fhl->config != NULL)
fhl               183 lib/filehighlight/ini-file-read.c         return mc_config_read_file (fhl->config, filename, TRUE, FALSE);
fhl               185 lib/filehighlight/ini-file-read.c     fhl->config = mc_config_init (filename, TRUE);
fhl               186 lib/filehighlight/ini-file-read.c     return (fhl->config != NULL);
fhl               192 lib/filehighlight/ini-file-read.c mc_fhl_init_from_standard_files (mc_fhl_t * fhl)
fhl               199 lib/filehighlight/ini-file-read.c     ok = mc_fhl_read_ini_file (fhl, name);
fhl               206 lib/filehighlight/ini-file-read.c     ok = mc_fhl_read_ini_file (fhl, name);
fhl               213 lib/filehighlight/ini-file-read.c     ok = mc_fhl_read_ini_file (fhl, name);
fhl               221 lib/filehighlight/ini-file-read.c mc_fhl_parse_ini_file (mc_fhl_t * fhl)
fhl               226 lib/filehighlight/ini-file-read.c     mc_fhl_array_free (fhl);
fhl               227 lib/filehighlight/ini-file-read.c     fhl->filters = g_ptr_array_new ();
fhl               229 lib/filehighlight/ini-file-read.c     orig_group_names = mc_config_get_groups (fhl->config, NULL);
fhl               234 lib/filehighlight/ini-file-read.c         if (mc_config_has_param (fhl->config, *group_names, "type"))
fhl               237 lib/filehighlight/ini-file-read.c             mc_fhl_parse_get_file_type_id (fhl, *group_names);
fhl               239 lib/filehighlight/ini-file-read.c         if (mc_config_has_param (fhl->config, *group_names, "regexp"))
fhl               242 lib/filehighlight/ini-file-read.c             mc_fhl_parse_get_regexp (fhl, *group_names);
fhl               244 lib/filehighlight/ini-file-read.c         if (mc_config_has_param (fhl->config, *group_names, "extensions"))
fhl               247 lib/filehighlight/ini-file-read.c             mc_fhl_parse_get_extensions (fhl, *group_names);