Sorting source tree a bit
[tpg/acess2.git] / KernelLand / Modules / Filesystems / NTFS / attributes.h
1 /*
2  * Acess2 - NTFS Driver
3  * By John Hodge (thePowersGang)
4  * This file is published under the terms of the Acess licence. See the
5  * file COPYING for details.
6  *
7  * attributes.h - MFT Attribute Types
8  */
9 #ifndef _ATTRIBUTES_H_
10 #define _ATTRIBUTES_H_
11
12 typedef struct
13 {
14         Uint64  ParentDirectory;        //!< Parent directory MFT entry
15         Sint64  CreationTime;   //!< Time the file was created
16         Sint64  LastDataModTime;        //!< Last change time for the data
17         Sint64  LastMtfModTime; //!< Last change time for the MFT entry
18         Sint64  LastAccessTime; //!< Last Access Time (unreliable on most systems)
19         
20         Uint64  AllocatedSize;  //!< Allocated data size for $DATA unnamed stream
21         Uint64  DataSize;       //!< Actual size of $DATA unnamed stream
22         Uint32  Flags;  //!< File attribute files
23         
24         union {
25                 struct {
26                         Uint16  PackedSize;     //!< Size of buffer needed for extended attributes
27                         Uint16  _reserved;
28                 } PACKED        ExtAttrib;
29                 struct {
30                         Uint32  Tag;    //!< Type of reparse point
31                 } PACKED        ReparsePoint;
32         } PACKED        Type;
33         
34         Uint8   FilenameType;   //!< Filename namespace (DOS, Windows, Unix)
35         WCHAR   Filename[0];
36 } PACKED        tNTFS_Attrib_Filename;
37
38 #endif

UCC git Repository :: git.ucc.asn.au