2009-09-02 03:07:50 +04:00
|
|
|
#ifndef MC__FILEHIGHLIGHT_H
|
|
|
|
#define MC__FILEHIGHLIGHT_H
|
|
|
|
|
2016-01-08 16:50:53 +03:00
|
|
|
#include "lib/mcconfig.h" /* mc_config_t */
|
|
|
|
#include "lib/util.h" /* file_entry_t */
|
2009-09-02 03:07:50 +04:00
|
|
|
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
typedef struct mc_fhl_struct
|
|
|
|
{
|
2009-09-02 03:07:50 +04:00
|
|
|
mc_config_t *config;
|
|
|
|
GPtrArray *filters;
|
|
|
|
} mc_fhl_t;
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
|
|
|
mc_fhl_t *mc_fhl_new (gboolean);
|
|
|
|
void mc_fhl_free (mc_fhl_t **);
|
|
|
|
|
2013-09-10 00:29:21 +04:00
|
|
|
int mc_fhl_get_color (mc_fhl_t *, file_entry_t *);
|
2009-09-02 03:07:50 +04:00
|
|
|
|
|
|
|
gboolean mc_fhl_read_ini_file (mc_fhl_t *, const gchar *);
|
2009-09-10 16:14:18 +04:00
|
|
|
gboolean mc_fhl_parse_ini_file (mc_fhl_t *);
|
2009-09-02 03:07:50 +04:00
|
|
|
void mc_fhl_clear (mc_fhl_t *);
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2010-11-08 21:50:15 +03:00
|
|
|
|
|
|
|
#endif /* MC__FILEHIGHLIGHT_H */
|