]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/btblock.h
libxfs: sanitize agcount on load
[thirdparty/xfsprogs-dev.git] / db / btblock.h
1 /*
2 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19 extern const struct field bmapbta_flds[];
20 extern const struct field bmapbta_hfld[];
21 extern const struct field bmapbta_crc_flds[];
22 extern const struct field bmapbta_crc_hfld[];
23 extern const struct field bmapbta_key_flds[];
24 extern const struct field bmapbta_rec_flds[];
25
26 extern const struct field bmapbtd_flds[];
27 extern const struct field bmapbtd_hfld[];
28 extern const struct field bmapbtd_crc_flds[];
29 extern const struct field bmapbtd_crc_hfld[];
30 extern const struct field bmapbtd_key_flds[];
31 extern const struct field bmapbtd_rec_flds[];
32
33 extern const struct field inobt_flds[];
34 extern const struct field inobt_hfld[];
35 extern const struct field inobt_crc_flds[];
36 extern const struct field inobt_spcrc_flds[];
37 extern const struct field inobt_crc_hfld[];
38 extern const struct field inobt_spcrc_hfld[];
39 extern const struct field inobt_key_flds[];
40 extern const struct field inobt_rec_flds[];
41 extern const struct field inobt_sprec_flds[];
42
43 extern const struct field bnobt_flds[];
44 extern const struct field bnobt_hfld[];
45 extern const struct field bnobt_crc_flds[];
46 extern const struct field bnobt_crc_hfld[];
47 extern const struct field bnobt_key_flds[];
48 extern const struct field bnobt_rec_flds[];
49
50 extern const struct field cntbt_flds[];
51 extern const struct field cntbt_hfld[];
52 extern const struct field cntbt_crc_flds[];
53 extern const struct field cntbt_crc_hfld[];
54 extern const struct field cntbt_key_flds[];
55 extern const struct field cntbt_rec_flds[];
56
57 extern const struct field rmapbt_crc_flds[];
58 extern const struct field rmapbt_crc_hfld[];
59 extern const struct field rmapbt_key_flds[];
60 extern const struct field rmapbt_rec_flds[];
61
62 extern const struct field refcbt_crc_flds[];
63 extern const struct field refcbt_crc_hfld[];
64 extern const struct field refcbt_key_flds[];
65 extern const struct field refcbt_rec_flds[];
66
67 extern int btblock_size(void *obj, int startoff, int idx);