+/****d* silcutil/SilcFileMode
+ *
+ * NAME
+ *
+ * typedef enum { ... } SilcFileMode;
+ *
+ * DESCRIPTION
+ *
+ * A file mode bits that specify the file's mode, type and protection
+ * in the SilcFileStat context.
+ *
+ * SOURCE
+ */
+typedef enum {
+ /* Type */
+ SILC_FILE_IFDIR = 0x00000001, /* Entry is directory */
+ SILC_FILE_IFCHR = 0x00000002, /* Entry is character device */
+ SILC_FILE_IFBLK = 0x00000004, /* Entry is block device */
+ SILC_FILE_IFREG = 0x00000008, /* Entry is regular file */
+ SILC_FILE_IFIFO = 0x00000010, /* Entry is FIFO */
+ SILC_FILE_IFLNK = 0x00000020, /* Entry is symbolic link */
+ SILC_FILE_IFSOCK = 0x00000040, /* Entry is socket */
+
+ /* Protection */
+ SILC_FILE_IRUSR = 0x00000080, /* Owner has read permission */
+ SILC_FILE_IWUSR = 0x00000100, /* Owner has write permission */
+ SILC_FILE_IXUSR = 0x00000200, /* Owner has execute permission */
+ SILC_FILE_IRGRP = 0x00000400, /* Group has read permission */
+ SILC_FILE_IWGRP = 0x00000800, /* Group has write permission */
+ SILC_FILE_IXGRP = 0x00001000, /* Group has execute permission */
+ SILC_FILE_IROTH = 0x00002000, /* Others have read permission */
+ SILC_FILE_IWOTH = 0x00004000, /* Others have write permission */
+ SILC_FILE_IXOTH = 0x00008000, /* Others have execute permission */
+} SilcFileMode;
+/***/
+
+/****s* silcutil/SilcFileStat
+ *
+ * NAME
+ *
+ * typedef struct SilcFileStatObject { ... } *SilcFileStat,
+ * SilcFileStatStruct;
+ *
+ * DESCRIPTION
+ *
+ * The file entry status information structure. The structure contains
+ * various information about a file. The structure is filled by calling
+ * the silc_file_stat or silc_file_fstat functions.
+ *
+ * SOURCE
+ */
+typedef struct SilcFileStatObject {
+ SilcTimeStruct last_access; /* Time of last access */
+ SilcTimeStruct last_mod; /* Time of last modification */
+ SilcTimeStruct last_change; /* Time of last status change */
+ SilcUInt64 size; /* Entry size in bytes */
+ SilcUInt32 uid; /* Owner ID of the entry */
+ SilcUInt32 gid; /* Group owner ID of the entry */
+ SilcUInt32 dev; /* Entry device number */
+ SilcUInt32 rdev; /* Device number if special file */
+ SilcUInt32 nlink; /* Number of hard links */
+ SilcFileMode mode; /* Entry mode */
+} *SilcFileStat, SilcFileStatStruct;
+/***/
+