filehighlight.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef MC__FILEHIGHLIGHT_H
  2. #define MC__FILEHIGHLIGHT_H
  3. #include "lib/mcconfig.h" /* mc_config_t */
  4. #include "lib/util.h" /* file_entry_t */
  5. /*** typedefs(not structures) and defined constants **********************************************/
  6. /*** enums ***************************************************************************************/
  7. /*** structures declarations (and typedefs of structures)*****************************************/
  8. typedef struct mc_fhl_struct
  9. {
  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_t *);
  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. /*** inline functions ****************************************************************************/
  22. #endif /* MC__FILEHIGHLIGHT_H */