#include <errno.h>
#include "fs_tools_i.h"
#include "ntfs.h"
Defines | |
#define | FS_READ_FILE_CACHE_SZ 8 * 1024 |
Functions | |
SSIZE_T | tsk_fs_read_block (TSK_FS_INFO *fs, TSK_DATA_BUF *buf, OFF_T len, DADDR_T addr) |
Read a file system block into a TSK_DATA_BUF structure. | |
SSIZE_T | tsk_fs_read_block_nobuf (TSK_FS_INFO *fs, char *buf, OFF_T len, DADDR_T addr) |
Read a file system block into a char* buffer. | |
char * | tsk_fs_load_file (TSK_FS_INFO *fs, TSK_FS_INODE *fsi, uint32_t type, uint16_t id, int flags) |
Load the contents of a file into a buffer. | |
SSIZE_T | tsk_fs_read_file_noid (TSK_FS_INFO *fs, TSK_FS_INODE *fsi, SSIZE_T offset, SSIZE_T size, char *buf) |
Read the contents of a file using a typical read() type interface. | |
SSIZE_T | tsk_fs_read_file (TSK_FS_INFO *fs, TSK_FS_INODE *fsi, uint32_t type, uint16_t id, SSIZE_T offset, SSIZE_T size, char *buf) |
Read the contents of a specific attribute of a file using a typical read() type interface. |
|
Load the contents of a file into a buffer.
|
|
Read a file system block into a TSK_DATA_BUF structure. This is actually a wrapper around the fs_read_random function, but it allows the starting location to be specified as a block address.
|
|
Read a file system block into a char* buffer. This is actually a wrapper around the fs_read_random function, but it allows the starting location to be specified as a block address.
|
|
Read the contents of a specific attribute of a file using a typical read() type interface.
|
|
Read the contents of a file using a typical read() type interface.
|