X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e:/bsd/sys/fsgetpath.h diff --git a/bsd/sys/fsgetpath.h b/bsd/sys/fsgetpath.h index bde5ce6e8..75a96e3f4 100644 --- a/bsd/sys/fsgetpath.h +++ b/bsd/sys/fsgetpath.h @@ -45,6 +45,7 @@ #include #include #ifdef __APPLE_API_PRIVATE +#include #include #include #endif /* __APPLE_API_PRIVATE */ @@ -60,6 +61,18 @@ ssize_t fsgetpath(char *, size_t, fsid_t *, uint64_t) __OSX_AVAILABLE(10.13) __I #ifdef PRIVATE #include +#ifndef FSOPT_NOFIRMLINKPATH /* also in attr.h */ +#define FSOPT_NOFIRMLINKPATH 0x00000080 +#endif + +#ifndef FSOPT_ISREALFSID /* also in attr.h */ +#ifdef FSOPT_RETURN_REALDEV +#define FSOPT_ISREALFSID FSOPT_RETURN_REALDEV +#else +#define FSOPT_ISREALFSID 0x00000200 +#endif +#endif /* FSOPT_ISREALFSID */ + #ifdef __APPLE_API_PRIVATE @@ -81,6 +94,8 @@ ssize_t fsgetpath(char *, size_t, fsid_t *, uint64_t) __OSX_AVAILABLE(10.13) __I */ int openbyid_np(fsid_t* fsid, fsobj_id_t* objid, int flags); +ssize_t fsgetpath_ext(char *, size_t, fsid_t *, uint64_t, uint32_t) __OSX_AVAILABLE(10.15) __IOS_AVAILABLE(13.0) __TVOS_AVAILABLE(13.0) __WATCHOS_AVAILABLE(6.0); + #endif /* __APPLE_API_PRIVATE */ #endif /* PRIVATE */