Merge branch '4524_cleanup'
[midnight-commander.git] / lib / filehighlight.h
blobfd2c976a7d3b8a17ba2b87acb21fedf8d0b3ff09
1 #ifndef MC__FILEHIGHLIGHT_H
2 #define MC__FILEHIGHLIGHT_H
4 #include "lib/mcconfig.h" /* mc_config_t */
5 #include "lib/file-entry.h"
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 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 need_auto_fill);
24 void mc_fhl_free (mc_fhl_t ** fhl);
26 int mc_fhl_get_color (const mc_fhl_t * fhl, const file_entry_t * fe);
28 gboolean mc_fhl_read_ini_file (mc_fhl_t * fhl, const gchar * filename);
29 gboolean mc_fhl_parse_ini_file (mc_fhl_t * fhl);
30 void mc_fhl_clear (mc_fhl_t * fhl);
32 /*** inline functions ****************************************************************************/
34 #endif /* MC__FILEHIGHLIGHT_H */