]>
git.saurik.com Git - apple/hfs.git/blob - livefiles_hfs_plugin/lf_hfs_readwrite_ops.h
2 // lf_hfs_readwrite_ops.h
5 // Created by Yakov Ben Zaken on 22/03/2018.
8 #ifndef lf_hfs_readwrite_ops_h
9 #define lf_hfs_readwrite_ops_h
14 struct vnop_blockmap_args
{
15 struct vnodeop_desc
*a_desc
;
25 #define HFS_TRUNCATE_SKIPTIMES 0x00000002 /* implied by skipupdate; it is a subset */
27 int hfs_vnop_blockmap(struct vnop_blockmap_args
*ap
);
28 int hfs_prepare_release_storage (struct hfsmount
*hfsmp
, struct vnode
*vp
);
29 int hfs_release_storage (struct hfsmount
*hfsmp
, struct filefork
*datafork
, struct filefork
*rsrcfork
, u_int32_t fileid
);
30 int hfs_truncate(struct vnode
*vp
, off_t length
, int flags
, int truncateflags
);
32 #endif /* lf_hfs_readwrite_ops_h */