]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - db/attr.h
xfs_db: Don't ASSERT on unrecognized metadata
[thirdparty/xfsprogs-dev.git] / db / attr.h
CommitLineData
2bd0ea18 1/*
da23017d
NS
2 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
dfc130f3 4 *
da23017d
NS
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
2bd0ea18 7 * published by the Free Software Foundation.
dfc130f3 8 *
da23017d
NS
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.
dfc130f3 13 *
da23017d
NS
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
2bd0ea18
NS
17 */
18
19extern const field_t attr_flds[];
20extern const field_t attr_hfld[];
21extern const field_t attr_blkinfo_flds[];
22extern const field_t attr_leaf_entry_flds[];
23extern const field_t attr_leaf_hdr_flds[];
24extern const field_t attr_leaf_map_flds[];
25extern const field_t attr_leaf_name_flds[];
26extern const field_t attr_node_entry_flds[];
27extern const field_t attr_node_hdr_flds[];
28
ad04ef4a
DC
29extern const field_t attr3_flds[];
30extern const field_t attr3_hfld[];
31extern const field_t attr3_leaf_hdr_flds[];
32extern const field_t attr3_node_hdr_flds[];
73a423b1
DW
33extern const field_t attr3_blkinfo_flds[];
34extern const field_t attr3_node_hdr_flds[];
29b90b5b 35extern const field_t attr3_remote_crc_flds[];
ad04ef4a 36
2bd0ea18
NS
37extern int attr_leaf_name_size(void *obj, int startoff, int idx);
38extern int attr_size(void *obj, int startoff, int idx);
89baf918 39extern void xfs_attr3_set_crc(struct xfs_buf *bp);
2847273f
DC
40
41extern const struct xfs_buf_ops xfs_attr3_db_buf_ops;