1227825Stheraven/* $NetBSD: ffsv2.c,v 1.10 2022/11/17 06:40:39 chs Exp $ */ 2227825Stheraven 3227825Stheraven#define LIBSA_FFSv2 4227825Stheraven 5227825Stheraven#define ufs_open ffsv2_open 6227825Stheraven#define ufs_close ffsv2_close 7227825Stheraven#define ufs_read ffsv2_read 8227825Stheraven#define ufs_write ffsv2_write 9227825Stheraven#define ufs_seek ffsv2_seek 10227825Stheraven#define ufs_stat ffsv2_stat 11227825Stheraven#if defined(LIBSA_ENABLE_LS_OP) 12227825Stheraven#define ufs_ls ffsv2_ls 13227825Stheraven#endif 14227825Stheraven 15227825Stheraven#define ufs_dinode ufs2_dinode 16227825Stheraven#define ufs_dinode_swap ffs_dinode2_swap 17227825Stheraven#define ufs_indp_swap bswap64 18227825Stheraven#define indp_t int64_t 19227825Stheraven 20227825Stheraven#include "ufs.c" 21227825Stheraven