tsk_dos.h

来自「linux下开发的针对所有磁盘的数据恢复的源码」· C头文件 代码 · 共 49 行

H
49
字号
/*  * 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 __cplusplusextern "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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?