filehighlight.h 1.1 KB

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