libparted 3.6
Loading...
Searching...
No Matches
file.h
Go to the documentation of this file.
1/*
2 libparted - a library for manipulating disk partitions
3 Copyright (C) 2004, 2007, 2009-2014, 2019-2023 Free Software Foundation,
4 Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef _FILE_H
21#define _FILE_H
22
23#include <parted/parted.h>
24#include <parted/endian.h>
25#include <parted/debug.h>
26
27#include "hfs.h"
28
30hfs_file_open (PedFileSystem *fs, uint32_t CNID,
31 HfsExtDataRec ext_desc, PedSector sect_nb);
32
33void
35
36int
38
39int
41
42#endif /* _FILE_H */
HfsPrivateFile * hfs_file_open(PedFileSystem *fs, uint32_t CNID, HfsExtDataRec ext_desc, PedSector sect_nb)
Definition: file.c:43
int hfs_file_write_sector(HfsPrivateFile *file, void *buf, PedSector sector)
Definition: file.c:202
void hfs_file_close(HfsPrivateFile *file)
Definition: file.c:62
int hfs_file_read_sector(HfsPrivateFile *file, void *buf, PedSector sector)
Definition: file.c:172
long long PedSector
We can address 2^63 sectors.
Definition: device.h:31
HfsExtDescriptor HfsExtDataRec[HFS_EXT_NB]
Definition: hfs.h:135
uint8_t sector
Definition: pc98.c:7
Definition: hfs.h:543
Structure describing file system.
Definition: filesys.h:68