The Sleuth Kit 4.15.0-develop
btrfs.cpp File Reference

Contains the internal TSK Btrfs file system functions. More...

#include "tsk_fs_i.h"
#include "tsk_btrfs.h"
#include <cassert>
#include <memory>

Macros

#define BTRFS_CHECK_TREENODE_CSUM
#define btrfs_debug(format, ...)
#define BTRFS_DEBUG_PRINT   0
#define BTRFS_TREENODE_CACHE_SIZE   50
#define BTRFS_TYPE2NAMETYPE_COUNT   8
#define MIN(a, b)

Functions

TSK_FS_INFObtrfs_open (TSK_IMG_INFO *img_info, TSK_OFF_T offset, TSK_FS_TYPE_ENUM ftype, const char *pass, uint8_t test)
 Tries to open a Btrfs filesystem.

Detailed Description

Contains the internal TSK Btrfs file system functions.

Macro Definition Documentation

◆ btrfs_debug

#define btrfs_debug ( format,
... )
Value:
do { if (BTRFS_DEBUG_PRINT) tsk_fprintf(stderr, "[btrfs] " format, ##__VA_ARGS__); } while (0)
void tsk_fprintf(FILE *fd, const char *msg,...)
fprintf wrapper function that takes UTF-8 strings as input (on all platforms) and does what is necess...
Definition tsk_printf.c:86

◆ MIN

#define MIN ( a,
b )
Value:
(((a)<(b))?(a):(b))

Function Documentation

◆ btrfs_open()


Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.