Merge branch '2087_standalone_mcedit_crash'
[kaloumi3.git] / lib / filehighlight.h
blob0999920de43b23ff363e186814d08a40825a5651
1 #ifndef MC__FILEHIGHLIGHT_H
2 #define MC__FILEHIGHLIGHT_H
4 #include "lib/mcconfig.h"
5 #include "lib/search.h"
6 #include "src/dir.h"
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /*** enums ***************************************************************************************/
12 /*** structures declarations (and typedefs of structures)*****************************************/
14 typedef struct mc_fhl_struct {
15 mc_config_t *config;
16 GPtrArray *filters;
17 } mc_fhl_t;
19 /*** global variables defined in .c file *********************************************************/
21 /*** declarations of public functions ************************************************************/
23 mc_fhl_t *mc_fhl_new (gboolean);
24 void mc_fhl_free (mc_fhl_t **);
26 int mc_fhl_get_color (mc_fhl_t *, file_entry *);
28 gboolean mc_fhl_read_ini_file (mc_fhl_t *, const gchar *);
29 gboolean mc_fhl_parse_ini_file (mc_fhl_t *);
30 void mc_fhl_clear (mc_fhl_t *);
32 #endif