]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/inode.h
2 * Copyright (c) 2000-2001 Silicon Graphics, Inc.
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.
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.
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
19 extern const struct field inode_a_flds
[];
20 extern const struct field inode_core_flds
[];
21 extern const struct field inode_v3_flds
[];
22 extern const struct field inode_flds
[];
23 extern const struct field inode_crc_flds
[];
24 extern const struct field inode_hfld
[];
25 extern const struct field inode_crc_hfld
[];
26 extern const struct field inode_u_flds
[];
27 extern const struct field timestamp_flds
[];
29 extern int fp_dinode_fmt(void *obj
, int bit
, int count
, char *fmtstr
,
30 int size
, int arg
, int base
, int array
);
31 extern int inode_a_size(void *obj
, int startoff
, int idx
);
32 extern void inode_init(void);
33 extern typnm_t
inode_next_type(void);
34 extern int inode_size(void *obj
, int startoff
, int idx
);
35 extern int inode_u_size(void *obj
, int startoff
, int idx
);
36 extern void set_cur_inode(xfs_ino_t ino
);