filehighlight.h 987 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef MC__FILEHIGHLIGHT_H
  2. #define MC__FILEHIGHLIGHT_H
  3. #include "lib/mcconfig.h"
  4. #include "lib/search.h"
  5. #include "src/dir.h"
  6. /*** typedefs(not structures) and defined constants **********************************************/
  7. /*** enums ***************************************************************************************/
  8. /*** structures declarations (and typedefs of structures)*****************************************/
  9. typedef struct mc_fhl_struct {
  10. mc_config_t *config;
  11. GPtrArray *filters;
  12. } mc_fhl_t;
  13. /*** global variables defined in .c file *********************************************************/
  14. /*** declarations of public functions ************************************************************/
  15. mc_fhl_t *mc_fhl_new (gboolean);
  16. void mc_fhl_free (mc_fhl_t **);
  17. int mc_fhl_get_color (mc_fhl_t *, file_entry *);
  18. gboolean mc_fhl_read_ini_file (mc_fhl_t *, const gchar *);
  19. gboolean mc_fhl_parse_ini_file (mc_fhl_t *);
  20. void mc_fhl_clear (mc_fhl_t *);
  21. #endif