libparted 3.6
Loading...
Searching...
No Matches
advfs_plus.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 _ADVFS_PLUS_H
21#define _ADVFS_PLUS_H
22
23#include <parted/parted.h>
24#include <parted/endian.h>
25#include <parted/debug.h>
26
27#include "hfs.h"
28
29int
31 void *record_out, unsigned int record_size,
32 HfsCPrivateLeafRec* record_ref);
33
34void
36
37int
39
40int
41hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock);
42
45
48
49unsigned int
50hfsplus_find_start_pack (const PedFileSystem *fs, unsigned int fblock);
51
52#endif /* _ADVFS_PLUS_H */
PedSector hfsplus_get_empty_end(const PedFileSystem *fs)
Definition: advfs_plus.c:275
unsigned int hfsplus_find_start_pack(const PedFileSystem *fs, unsigned int fblock)
Definition: advfs_plus.c:364
int hfsplus_read_bad_blocks(const PedFileSystem *fs)
Definition: advfs_plus.c:181
int hfsplus_is_bad_block(const PedFileSystem *fs, unsigned int fblock)
Definition: advfs_plus.c:253
int hfsplus_btree_search(HfsPPrivateFile *b_tree_file, HfsPPrivateGenericKey *key, void *record_out, unsigned int record_size, HfsCPrivateLeafRec *record_ref)
Definition: advfs_plus.c:73
PedSector hfsplus_get_min_size(const PedFileSystem *fs)
Definition: advfs_plus.c:319
void hfsplus_free_bad_blocks_list(HfsPPrivateLinkExtent *first)
Definition: advfs_plus.c:167
long long PedSector
We can address 2^63 sectors.
Definition: device.h:31
struct _HfsPPrivateGenericKey HfsPPrivateGenericKey
Definition: hfs.h:630
Definition: hfs.h:635
Definition: hfs.h:582
Definition: hfs.h:599
Structure describing file system.
Definition: filesys.h:68