/usr/include/tsk3/vs/tsk_dos.h is in libtsk-dev 3.2.3-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /*
* The Sleuth Kit
*
* Brian Carrier [carrier <at> sleuthkit [dot] org]
* Copyright (c) 2003-2008 Brian Carrier. All rights reserved
*
* This software is distributed under the Common Public License 1.0
*/
/*
* C header file with DOS and internal data structures.
*/
#ifndef _TSK_DOS_H
#define _TSK_DOS_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
uint8_t boot;
uint8_t start_chs[3];
uint8_t ptype;
uint8_t end_chs[3];
uint8_t start_sec[4];
uint8_t size_sec[4];
} dos_part;
/* Boot Sector w/partition table */
typedef struct {
uint8_t f1[3];
/* the next three are actually part of NTFS and FAT, but
* we use them for sanity checks in the detect code */
char oemname[8];
uint8_t ssize[2]; /* sector size in bytes */
uint8_t csize; /* cluster size in sectors */
uint8_t filler[432];
dos_part ptable[4];
uint8_t magic[2];
} dos_sect;
#define DOS_MAGIC 0xaa55
#define DOS_PART_SOFFSET 0
#ifdef __cplusplus
}
#endif
#endif
|