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 gboolean may_delete
; /* Not yet found, this scan */
31 time_t atime
, ctime
, mtime
;
32 MaskedPixmap
*image
; /* NULL => leafname only so far */
36 int lstat_errno
; /* 0 if details are valid */
39 void diritem_init(void);
40 DirItem
*diritem_new(guchar
*leafname
);
41 void diritem_restat(guchar
*path
, DirItem
*item
);
42 void diritem_free(DirItem
*item
);
44 #endif /* _DIRITEM_H */