X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/15129b1c8dbb3650c63b70adb1cad9af601c6c17..22ba694c5857e62b5a553b1505dcf2e509177f28:/bsd/hfs/hfs_fsctl.h diff --git a/bsd/hfs/hfs_fsctl.h b/bsd/hfs/hfs_fsctl.h index ccd86e8d3..aad94ddab 100644 --- a/bsd/hfs/hfs_fsctl.h +++ b/bsd/hfs/hfs_fsctl.h @@ -148,6 +148,15 @@ struct hfs_journal_info { #define HFSIOC_GET_WRITE_GEN_COUNTER _IOR('h', 30, u_int32_t) #define HFS_GET_WRITE_GEN_COUNTER IOCBASECMD(HFSIOC_GET_WRITE_GEN_COUNTER) +#define HFS_DOCUMENT_ID_ALLOCATE 0x1 + +#define HFSIOC_GET_DOCUMENT_ID _IOR('h', 31, u_int32_t) +#define HFS_GET_DOCUMENT_ID IOCBASECMD(HFSIOC_GET_DOCUMENT_ID) + +/* revisiond only uses this when something transforms in a way the kernel can't track such as "foo.rtf" -> "foo.rtfd" */ +#define HFSIOC_TRANSFER_DOCUMENT_ID _IOW('h', 32, u_int32_t) +#define HFS_TRANSFER_DOCUMENT_ID IOCBASECMD(HFSIOC_TRANSFER_DOCUMENT_ID) + #endif /* __APPLE_API_UNSTABLE */ #endif /* ! _HFS_FSCTL_H_ */