1 /** \file lib/file-entry.h
2 * \brief Header: file entry definition
5 #ifndef MC__ILE_ENTRY_H
6 #define MC__ILE_ENTRY_H
11 #include "lib/global.h" /* include <glib.h> */
13 /*** typedefs(not structures) and defined constants **********************************************/
15 /*** enums ***************************************************************************************/
17 /*** structures declarations (and typedefs of structures)*****************************************/
19 /* keys are set only during sorting */
26 /* Key used for comparing names */
28 /* Key used for comparing extensions */
29 char *extension_sort_key
;
34 unsigned int marked
:1; /* File marked in pane window */
35 unsigned int link_to_dir
:1; /* If this is a link, does it point to directory? */
36 unsigned int stale_link
:1; /* If this is a symlink and points to Charon's land */
37 unsigned int dir_size_computed
:1; /* Size of directory was computed with dirsizes_cmd */
41 /*** global variables defined in .c file *********************************************************/
43 /*** declarations of public functions ************************************************************/
45 /* --------------------------------------------------------------------------------------------- */
46 /*** inline functions ****************************************************************************/
47 /* --------------------------------------------------------------------------------------------- */
49 #endif /* MC__FILE_ENTRY_H */