1*9663SMark.Logan@Sun.COM /* 2*9663SMark.Logan@Sun.COM libparted - a library for manipulating disk partitions 3*9663SMark.Logan@Sun.COM Copyright (C) 2004, 2007 Free Software Foundation, Inc. 4*9663SMark.Logan@Sun.COM 5*9663SMark.Logan@Sun.COM This program is free software; you can redistribute it and/or modify 6*9663SMark.Logan@Sun.COM it under the terms of the GNU General Public License as published by 7*9663SMark.Logan@Sun.COM the Free Software Foundation; either version 3 of the License, or 8*9663SMark.Logan@Sun.COM (at your option) any later version. 9*9663SMark.Logan@Sun.COM 10*9663SMark.Logan@Sun.COM This program is distributed in the hope that it will be useful, 11*9663SMark.Logan@Sun.COM but WITHOUT ANY WARRANTY; without even the implied warranty of 12*9663SMark.Logan@Sun.COM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*9663SMark.Logan@Sun.COM GNU General Public License for more details. 14*9663SMark.Logan@Sun.COM 15*9663SMark.Logan@Sun.COM You should have received a copy of the GNU General Public License 16*9663SMark.Logan@Sun.COM along with this program. If not, see <http://www.gnu.org/licenses/>. 17*9663SMark.Logan@Sun.COM */ 18*9663SMark.Logan@Sun.COM 19*9663SMark.Logan@Sun.COM #ifndef _FILE_H 20*9663SMark.Logan@Sun.COM #define _FILE_H 21*9663SMark.Logan@Sun.COM 22*9663SMark.Logan@Sun.COM #include <parted/parted.h> 23*9663SMark.Logan@Sun.COM #include <parted/endian.h> 24*9663SMark.Logan@Sun.COM #include <parted/debug.h> 25*9663SMark.Logan@Sun.COM 26*9663SMark.Logan@Sun.COM #include "hfs.h" 27*9663SMark.Logan@Sun.COM 28*9663SMark.Logan@Sun.COM HfsPrivateFile* 29*9663SMark.Logan@Sun.COM hfs_file_open (PedFileSystem *fs, uint32_t CNID, 30*9663SMark.Logan@Sun.COM HfsExtDataRec ext_desc, PedSector sect_nb); 31*9663SMark.Logan@Sun.COM 32*9663SMark.Logan@Sun.COM void 33*9663SMark.Logan@Sun.COM hfs_file_close (HfsPrivateFile* file); 34*9663SMark.Logan@Sun.COM 35*9663SMark.Logan@Sun.COM int 36*9663SMark.Logan@Sun.COM hfs_file_read_sector (HfsPrivateFile* file, void *buf, PedSector sector); 37*9663SMark.Logan@Sun.COM 38*9663SMark.Logan@Sun.COM int 39*9663SMark.Logan@Sun.COM hfs_file_write_sector (HfsPrivateFile* file, void *buf, PedSector sector); 40*9663SMark.Logan@Sun.COM 41*9663SMark.Logan@Sun.COM #endif /* _FILE_H */ 42