]> git.saurik.com Git - apple/hfs.git/blob - livefiles_hfs_plugin/lf_hfs_fsops_handler.h
hfs-556.100.11.tar.gz
[apple/hfs.git] / livefiles_hfs_plugin / lf_hfs_fsops_handler.h
1 /* Copyright © 2017-2018 Apple Inc. All rights reserved.
2 *
3 * lf_hfs_fsops_handler.h
4 * livefiles_hfs
5 *
6 * Created by Yakov Ben Zaken on 31/12/2017.
7 */
8
9 #ifndef lf_hfs_fsops_handler_h
10 #define lf_hfs_fsops_handler_h
11
12 #include "lf_hfs_common.h"
13 #include "lf_hfs_vnode.h"
14
15 uint64_t FSOPS_GetOffsetFromClusterNum(vnode_t vp, uint64_t uClusterNum);
16 int LFHFS_Mount (int iFd, UVFSVolumeId puVolId, __unused UVFSMountFlags puMountFlags,
17 __unused UVFSVolumeCredential *psVolumeCreds, UVFSFileNode *ppsRootNode);
18 int LFHFS_Unmount (UVFSFileNode psRootNode, UVFSUnmountHint hint);
19 int LFHFS_ScanVols (int iFd, UVFSScanVolsRequest *psRequest, UVFSScanVolsReply *psReply );
20 int LFHFS_Taste ( int iFd );
21
22 extern UVFSFSOps HFS_fsOps;
23
24 #endif /* lf_hfs_fsops_handler_h */