1 #ifndef MC__FILEHIGHLIGHT_INTERNAL_H
2 #define MC__FILEHIGHLIGHT_INTERNAL_H
4 #include "lib/search.h" /* mc_search_t */
6 /*** typedefs(not structures) and defined constants **********************************************/
8 /*** enums ***************************************************************************************/
15 } mc_flhgh_filter_type
;
19 MC_FLHGH_FTYPE_T_FILE
,
20 MC_FLHGH_FTYPE_T_FILE_EXE
,
22 MC_FLHGH_FTYPE_T_LINK_DIR
,
23 MC_FLHGH_FTYPE_T_LINK
,
24 MC_FLHGH_FTYPE_T_HARDLINK
,
25 MC_FLHGH_FTYPE_T_SYMLINK
,
26 MC_FLHGH_FTYPE_T_STALE_LINK
,
27 MC_FLHGH_FTYPE_T_DEVICE
,
28 MC_FLHGH_FTYPE_T_DEVICE_BLOCK
,
29 MC_FLHGH_FTYPE_T_DEVICE_CHAR
,
30 MC_FLHGH_FTYPE_T_SPECIAL
,
31 MC_FLHGH_FTYPE_T_SPECIAL_SOCKET
,
32 MC_FLHGH_FTYPE_T_SPECIAL_FIFO
,
33 MC_FLHGH_FTYPE_T_SPECIAL_DOOR
,
34 } mc_flhgh_ftype_type
;
36 /*** structures declarations (and typedefs of structures)*****************************************/
38 typedef struct mc_fhl_filter_struct
44 mc_flhgh_filter_type type
;
45 mc_search_t
*search_condition
;
46 mc_flhgh_ftype_type file_type
;
50 /*** global variables defined in .c file *********************************************************/
52 /*** declarations of public functions ************************************************************/
54 void mc_fhl_array_free (mc_fhl_t
*);
56 gboolean
mc_fhl_init_from_standard_files (mc_fhl_t
*);
58 /*** inline functions ****************************************************************************/
60 #endif /* MC__FILEHIGHLIGHT_INTERNAL_H */