X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..bca245acd4c03fd752d1a45f011ad495e60fe53d:/bsd/sys/snapshot.h diff --git a/bsd/sys/snapshot.h b/bsd/sys/snapshot.h index c18cd8510..f097beb36 100644 --- a/bsd/sys/snapshot.h +++ b/bsd/sys/snapshot.h @@ -27,7 +27,7 @@ */ #ifndef _SYS_SNAPSHOT_H_ -#define _SYS_SNAPSHOT_H_ +#define _SYS_SNAPSHOT_H_ #ifndef KERNEL @@ -52,6 +52,10 @@ int fs_snapshot_mount(int, const char *, const char *, uint32_t) __OSX_AVAILABLE int fs_snapshot_revert(int, const char *, uint32_t) __OSX_AVAILABLE(10.12) __IOS_AVAILABLE(10.0) __TVOS_AVAILABLE(10.0) __WATCHOS_AVAILABLE(3.0); +#ifdef PRIVATE +int fs_snapshot_root(int, const char *, uint32_t) __OSX_AVAILABLE(10.12.4) __IOS_AVAILABLE(10.3) __TVOS_AVAILABLE(10.3) __WATCHOS_AVAILABLE(3.3); +#endif + __END_DECLS #endif /* !KERNEL */ @@ -63,6 +67,7 @@ __END_DECLS #define SNAPSHOT_OP_RENAME 0x03 #define SNAPSHOT_OP_MOUNT 0x04 #define SNAPSHOT_OP_REVERT 0x05 +#define SNAPSHOT_OP_ROOT 0x06 #endif