]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
HostDiskMacos: Migrate macOS host disk functions from file and user to hostDisk.
authorOliver Kurth <okurth@vmware.com>
Mon, 23 Oct 2017 21:21:22 +0000 (14:21 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 23 Oct 2017 21:21:22 +0000 (14:21 -0700)
open-vm-tools/lib/include/file.h

index 1d2a8c0ff378729904d2ea1b84e5f374fbf0294f..7cf44eea00408e5dd753fba259e2821e688bfcda 100644 (file)
@@ -87,28 +87,7 @@ typedef char *File_MakeTempCreateNameFunc(uint32 num,
                                           void *data);
 
 #if defined(__APPLE__)
-typedef enum {
-   FILEMACOS_UNMOUNT_SUCCESS,
-   FILEMACOS_UNMOUNT_SUCCESS_ALREADY,
-   FILEMACOS_UNMOUNT_ERROR,
-} FileMacosUnmountStatus;
-
-FileMacosUnmountStatus FileMacos_UnmountDev(char const *bsdDev,
-                                            Bool wholeDev,
-                                            Bool eject,
-                                            Bool su);
-
-void FileMacos_MountDevAsyncNoResult(char const *bsdDev,
-                                     Bool su);
-
 Bool FileMacos_IsOnSparseDmg(int fd);
-Bool FileMacos_IsSliceDevice(char const *bsdDev);
-
-char *FileMacos_DiskDevToUserFriendlyName(char const *bsdDiskDev);
-char *FileMacos_DiskDevToVolumeName(char const *bsdDiskDev);
-
-char *FileMacos_DiskDeviceToUniqueID(char const *bsdPath);
-char *FileMacos_UniqueIDToDiskDevice(char const *identifier);
 Bool FileMacOS_MakeSecureLibraryCopies(const char   *inDir,
                                        const char  **dylibName,
                                        unsigned      numDylibs,