1N/A/*
1N/A libparted - a library for manipulating disk partitions
1N/A Copyright (C) 2004, 2007, 2009-2010 Free Software Foundation, Inc.
1N/A
1N/A This program is free software; you can redistribute it and/or modify
1N/A it under the terms of the GNU General Public License as published by
1N/A the Free Software Foundation; either version 3 of the License, or
1N/A (at your option) any later version.
1N/A
1N/A This program is distributed in the hope that it will be useful,
1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A GNU General Public License for more details.
1N/A
1N/A You should have received a copy of the GNU General Public License
1N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1N/A*/
1N/A
1N/A#ifndef _FILE_H
1N/A#define _FILE_H
1N/A
1N/A#include <parted/parted.h>
1N/A#include <parted/endian.h>
1N/A#include <parted/debug.h>
1N/A
1N/A#include "hfs.h"
1N/A
1N/AHfsPrivateFile*
1N/Ahfs_file_open (PedFileSystem *fs, uint32_t CNID,
1N/A HfsExtDataRec ext_desc, PedSector sect_nb);
1N/A
1N/Avoid
1N/Ahfs_file_close (HfsPrivateFile* file);
1N/A
1N/Aint
1N/Ahfs_file_read_sector (HfsPrivateFile* file, void *buf, PedSector sector);
1N/A
1N/Aint
1N/Ahfs_file_write_sector (HfsPrivateFile* file, void *buf, PedSector sector);
1N/A
1N/A#endif /* _FILE_H */