2017-05-19 20:28:49 +01:00
|
|
|
// /***************************************************************************
|
2016-08-01 00:41:02 +01:00
|
|
|
// The Disc Image Chef
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Consts.cs
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
|
|
|
|
// Component : Apple Macintosh File System plugin.
|
|
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
2016-08-01 00:43:31 +01:00
|
|
|
// Apple Macintosh File System constants.
|
2016-08-01 00:41:02 +01:00
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This library 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
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2018-12-29 17:34:38 +00:00
|
|
|
// Copyright © 2011-2019 Natalia Portillo
|
2016-08-01 00:41:02 +01:00
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
|
|
|
|
namespace DiscImageChef.Filesystems.AppleMFS
|
|
|
|
|
{
|
|
|
|
|
// Information from Inside Macintosh Volume II
|
2017-12-21 16:27:09 +00:00
|
|
|
public partial class AppleMFS
|
2016-08-01 00:41:02 +01:00
|
|
|
{
|
|
|
|
|
const ushort MFS_MAGIC = 0xD2D7;
|
|
|
|
|
// "LK"
|
|
|
|
|
const ushort MFSBB_MAGIC = 0x4C4B;
|
2016-08-01 01:22:40 +01:00
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
const short DIRID_TRASH = -3;
|
|
|
|
|
const short DIRID_DESKTOP = -2;
|
2016-08-01 17:59:22 +01:00
|
|
|
const short DIRID_TEMPLATE = -1;
|
2018-06-22 08:08:38 +01:00
|
|
|
const short DIRID_ROOT = 0;
|
2016-08-01 17:59:22 +01:00
|
|
|
|
|
|
|
|
const int BMAP_FREE = 0;
|
|
|
|
|
const int BMAP_LAST = 1;
|
2018-06-22 08:08:38 +01:00
|
|
|
const int BMAP_DIR = 0xFFF;
|
2016-08-01 00:41:02 +01:00
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|