]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - db/inode.h
xfs_db: use TYP_F_CRC_FUNC for inodes & dquots
[thirdparty/xfsprogs-dev.git] / db / inode.h
CommitLineData
2bd0ea18 1/*
da23017d
NS
2 * Copyright (c) 2000-2001 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 struct field inode_a_flds[];
20extern const struct field inode_core_flds[];
c2907bd7 21extern const struct field inode_v3_flds[];
2bd0ea18 22extern const struct field inode_flds[];
c2907bd7 23extern const struct field inode_crc_flds[];
2bd0ea18 24extern const struct field inode_hfld[];
c2907bd7 25extern const struct field inode_crc_hfld[];
2bd0ea18
NS
26extern const struct field inode_u_flds[];
27extern const struct field timestamp_flds[];
28
29extern int fp_dinode_fmt(void *obj, int bit, int count, char *fmtstr,
30 int size, int arg, int base, int array);
31extern int inode_a_size(void *obj, int startoff, int idx);
32extern void inode_init(void);
33extern typnm_t inode_next_type(void);
34extern int inode_size(void *obj, int startoff, int idx);
35extern int inode_u_size(void *obj, int startoff, int idx);
1e9c13c5 36extern void xfs_inode_set_crc(struct xfs_buf *);
2bd0ea18 37extern void set_cur_inode(xfs_ino_t ino);