]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_inode_fork.c
libxfs: directly include libxfs headers
authorDave Chinner <dchinner@redhat.com>
Thu, 30 Jul 2015 22:57:10 +0000 (08:57 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 22:57:10 +0000 (08:57 +1000)
commitb626fb596db88dd73dc9700992854379532a23a4
tree466d424a25ceb9c6f442dbd8180b00f6d70e3d65
parent19ebedcfcb29b2ad59f13844ee10716cd61455d3
libxfs: directly include libxfs headers

As a step closer to the kernel code, have the libxfs code explicitly
include the headers they require to compile. This causes lots of
churn in the include files but starts to bring sanity to current
include mess.

IOWs, this is the first step towards libxfs having a clean
internal/external API demarkation for userspace. The internal libxfs
build is controlled through libxfs/xfs.h, and that defines the
functions that are exported by the library via the libxfs_*
namespace. This also starts moving the internal header structure to
the same layout and dependencies as the kernel code so that we can
separate out include/libxfs.h so that it only needs to include other
header files and doesn't ave to provide lots of "work around kernel
oddities" and export function prototypes that the internal libxfs
code does not define prototypes for.

There's still lots of follow patches to make this a reality, but
this is the first major step in cleaning up the mess.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
57 files changed:
include/Makefile
include/libxfs.h
include/libxlog.h
include/xfs_inode.h [new file with mode: 0644]
include/xfs_mount.h [new file with mode: 0644]
include/xfs_trans.h [new file with mode: 0644]
libxfs/Makefile
libxfs/cache.c
libxfs/crc32.c
libxfs/init.c
libxfs/kmem.c
libxfs/libxfs_io.h [new file with mode: 0644]
libxfs/linux.c
libxfs/logitem.c
libxfs/radix-tree.c
libxfs/rdwr.c
libxfs/trans.c
libxfs/util.c
libxfs/xfs.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_attr_leaf.h
libxfs/xfs_attr_remote.c
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_da_btree.c
libxfs/xfs_da_format.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_dquot_buf.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_log_rlimit.c
libxfs/xfs_rtbitmap.c
libxfs/xfs_sb.c
libxfs/xfs_symlink_remote.c
libxfs/xfs_trans_resv.c
libxlog/util.c
libxlog/xfs_log_recover.c
logprint/log_copy.c
logprint/log_dump.c
logprint/log_misc.c
logprint/log_print_all.c
logprint/log_print_trans.c
logprint/logprint.c
logprint/logprint.h
repair/phase2.c
repair/xfs_repair.c