Updated doc/NEWS file
[midnight-commander.git] / lib / filehighlight.h
blob44bafc862d22f911a3c290743d55408d98e5a560
1 #ifndef MC__FILEHIGHLIGHT_H
2 #define MC__FILEHIGHLIGHT_H
4 #include "lib/mcconfig.h"
5 #include "lib/search.h"
7 #include "lib/util.h"
9 /*** typedefs(not structures) and defined constants **********************************************/
11 /*** enums ***************************************************************************************/
13 /*** structures declarations (and typedefs of structures)*****************************************/
15 typedef struct mc_fhl_struct
17 mc_config_t *config;
18 GPtrArray *filters;
19 } mc_fhl_t;
21 /*** global variables defined in .c file *********************************************************/
23 /*** declarations of public functions ************************************************************/
25 mc_fhl_t *mc_fhl_new (gboolean);
26 void mc_fhl_free (mc_fhl_t **);
28 int mc_fhl_get_color (mc_fhl_t *, file_entry *);
30 gboolean mc_fhl_read_ini_file (mc_fhl_t *, const gchar *);
31 gboolean mc_fhl_parse_ini_file (mc_fhl_t *);
32 void mc_fhl_clear (mc_fhl_t *);
34 /*** inline functions ****************************************************************************/
36 #endif /* MC__FILEHIGHLIGHT_H */