37 行
1014 B
C++
37 行
1014 B
C++
/*
|
|
This file is part of apfs-fuse, a read-only implementation of APFS
|
|
(Apple File System) for FUSE.
|
|
Copyright (C) 2017 Simon Gander
|
|
|
|
Apfs-fuse is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Apfs-fuse is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with apfs-fuse. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
// Debug level - defined in ApfsContainer.cpp
|
|
extern int g_debug;
|
|
// Lax mode - defined in ApfsContainer.cpp
|
|
extern bool g_lax;
|
|
|
|
enum DbgFlags
|
|
{
|
|
Dbg_Errors = 1,
|
|
Dbg_Info = 2,
|
|
Dbg_Dir = 4,
|
|
Dbg_Cmpfs = 8,
|
|
Dbg_Crypto = 16
|
|
};
|