2009-09-02 03:07:50 +04:00
|
|
|
#ifndef MC__FILEHIGHLIGHT_H
|
|
|
|
#define MC__FILEHIGHLIGHT_H
|
|
|
|
|
2010-01-21 16:18:45 +03:00
|
|
|
#include "lib/mcconfig.h"
|
|
|
|
#include "lib/search.h"
|
2010-11-22 17:15:28 +03:00
|
|
|
|
2011-02-18 16:11:57 +03:00
|
|
|
#include "lib/util.h"
|
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 **);
|
|
|
|
|
|
|
|
int mc_fhl_get_color (mc_fhl_t *, file_entry *);
|
|
|
|
|
|
|
|
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 */
|