Updated Russian translation.
[midnight-commander.git] / lib / filehighlight / internal.h
blob498e59b9689bdf4fdd7f80b3b9bfb56f9b90c2a5
1 #ifndef MC__FILEHIGHLIGHT_INTERNAL_H
2 #define MC__FILEHIGHLIGHT_INTERNAL_H
4 /*** typedefs(not structures) and defined constants **********************************************/
6 /*** enums ***************************************************************************************/
8 typedef enum
10 MC_FLHGH_T_FTYPE,
11 MC_FLHGH_T_EXT,
12 MC_FLHGH_T_FREGEXP
13 } mc_flhgh_filter_type;
15 typedef enum
17 MC_FLHGH_FTYPE_T_FILE,
18 MC_FLHGH_FTYPE_T_FILE_EXE,
19 MC_FLHGH_FTYPE_T_DIR,
20 MC_FLHGH_FTYPE_T_LINK_DIR,
21 MC_FLHGH_FTYPE_T_LINK,
22 MC_FLHGH_FTYPE_T_HARDLINK,
23 MC_FLHGH_FTYPE_T_SYMLINK,
24 MC_FLHGH_FTYPE_T_STALE_LINK,
25 MC_FLHGH_FTYPE_T_DEVICE,
26 MC_FLHGH_FTYPE_T_DEVICE_BLOCK,
27 MC_FLHGH_FTYPE_T_DEVICE_CHAR,
28 MC_FLHGH_FTYPE_T_SPECIAL,
29 MC_FLHGH_FTYPE_T_SPECIAL_SOCKET,
30 MC_FLHGH_FTYPE_T_SPECIAL_FIFO,
31 MC_FLHGH_FTYPE_T_SPECIAL_DOOR,
32 } mc_flhgh_ftype_type;
34 /*** structures declarations (and typedefs of structures)*****************************************/
36 typedef struct mc_fhl_filter_struct
39 int color_pair_index;
40 gchar *fgcolor;
41 gchar *bgcolor;
42 mc_flhgh_filter_type type;
43 mc_search_t *search_condition;
44 mc_flhgh_ftype_type file_type;
46 } mc_fhl_filter_t;
48 /*** global variables defined in .c file *********************************************************/
50 /*** declarations of public functions ************************************************************/
52 void mc_fhl_array_free (mc_fhl_t *);
54 gboolean mc_fhl_init_from_standard_files (mc_fhl_t *);
56 /*** inline functions ****************************************************************************/
58 #endif /* MC__FILEHIGHLIGHT_INTERNAL_H */