4 * Thomas Leonard, <tal197@users.sourceforge.net>
11 #include <sys/types.h>
15 ITEM_FLAG_SYMLINK
= 0x01, /* Is a symlink */
16 ITEM_FLAG_APPDIR
= 0x02, /* Contains an AppRun */
17 ITEM_FLAG_MOUNT_POINT
= 0x04, /* Is in mtab or fstab */
18 ITEM_FLAG_MOUNTED
= 0x08, /* Is in /etc/mtab */
19 ITEM_FLAG_EXEC_FILE
= 0x20, /* File, and has an X bit set */
20 ITEM_FLAG_MAY_DELETE
= 0x40, /* Delete on finishing scan */
26 char *leafname_collate
; /* Preprocessed for sorting */
27 gboolean may_delete
; /* Not yet found, this scan */
32 time_t atime
, ctime
, mtime
;
33 MaskedPixmap
*image
; /* NULL => leafname only so far */
37 int lstat_errno
; /* 0 if details are valid */
40 void diritem_init(void);
41 DirItem
*diritem_new(const guchar
*leafname
);
42 void diritem_restat(const guchar
*path
, DirItem
*item
, struct stat
*parent
);
43 void diritem_free(DirItem
*item
);
45 #endif /* _DIRITEM_H */