From: Oliver Kurth Date: Mon, 23 Oct 2017 21:21:21 +0000 (-0700) Subject: HostDiskMacos: Migrate macOS host disk functions from file and user to hostDisk. X-Git-Tag: stable-10.3.0~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9fa89c015f72f233f46c8dd73640bbd3006d901;p=thirdparty%2Fopen-vm-tools.git HostDiskMacos: Migrate macOS host disk functions from file and user to hostDisk. --- diff --git a/open-vm-tools/lib/include/file.h b/open-vm-tools/lib/include/file.h index 1d2a8c0ff..7cf44eea0 100644 --- a/open-vm-tools/lib/include/file.h +++ b/open-vm-tools/lib/include/file.h @@ -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,