diff options
Diffstat (limited to 'core/fs/ntfs/ntfs.h')
-rw-r--r-- | core/fs/ntfs/ntfs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/fs/ntfs/ntfs.h b/core/fs/ntfs/ntfs.h index 958dc549..8a885b65 100644 --- a/core/fs/ntfs/ntfs.h +++ b/core/fs/ntfs/ntfs.h @@ -17,6 +17,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "runlist.h" + #ifndef _NTFS_H_ #define _NTFS_H_ @@ -296,6 +298,19 @@ struct ntfs_attr_record { } __attribute__((__packed__)) data; } __attribute__((__packed__)); +/* Attribute: Attribute List (0x20) + * Note: it can be either resident or non-resident + */ +struct ntfs_attr_list_entry { + uint32_t type; + uint16_t length; + uint8_t name_offset; + uint64_t lowest_vcn; + uint64_t mft_ref; + uint16_t instance; + uint16_t name[0]; +} __attribute__((__packed__)); + #define NTFS_MAX_FILE_NAME_LEN 255 /* Possible namespaces for filenames in ntfs (8-bit) */ |