Ticket 3948: can't create network link from panel...
[midnight-commander.git] / lib / filehighlight.h
blob98025889850d2e035285013f3cd528c2d7ee08b1
1 #ifndef MC__FILEHIGHLIGHT_H
2 #define MC__FILEHIGHLIGHT_H
4 #include "lib/mcconfig.h" /* mc_config_t */
5 #include "lib/util.h" /* file_entry_t */
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);
24 void mc_fhl_free (mc_fhl_t **);
26 int mc_fhl_get_color (mc_fhl_t *, file_entry_t *);
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 /*** inline functions ****************************************************************************/
34 #endif /* MC__FILEHIGHLIGHT_H */