udisksenums.h | udisksenums.h | |||
---|---|---|---|---|
skipping to change at line 55 | skipping to change at line 55 | |||
* @UDISKS_ERROR_NOT_SUPPORTED: The operation is not supported due to missi ng driver/tool support. | * @UDISKS_ERROR_NOT_SUPPORTED: The operation is not supported due to missi ng driver/tool support. | |||
* @UDISKS_ERROR_TIMED_OUT: The operation timed out. | * @UDISKS_ERROR_TIMED_OUT: The operation timed out. | |||
* @UDISKS_ERROR_WOULD_WAKEUP: The operation would wake up a disk that is i n a deep-sleep state. | * @UDISKS_ERROR_WOULD_WAKEUP: The operation would wake up a disk that is i n a deep-sleep state. | |||
* @UDISKS_ERROR_DEVICE_BUSY: Attempting to unmount a device that is busy. | * @UDISKS_ERROR_DEVICE_BUSY: Attempting to unmount a device that is busy. | |||
* | * | |||
* Error codes for the #UDISKS_ERROR error domain and the | * Error codes for the #UDISKS_ERROR error domain and the | |||
* corresponding D-Bus error names. | * corresponding D-Bus error names. | |||
*/ | */ | |||
typedef enum | typedef enum | |||
{ | { | |||
UDISKS_ERROR_FAILED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_FAILED, /* org.freedesktop.UDisks2.Error | |||
Failed */ | .Failed */ | |||
UDISKS_ERROR_CANCELLED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_CANCELLED, /* org.freedesktop.UDisks2.Error | |||
Cancelled */ | .Cancelled */ | |||
UDISKS_ERROR_ALREADY_CANCELLED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_ALREADY_CANCELLED, /* org.freedesktop.UDisks2.Error | |||
AlreadyCancelled */ | .AlreadyCancelled */ | |||
UDISKS_ERROR_NOT_AUTHORIZED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_NOT_AUTHORIZED, /* org.freedesktop.UDisks2.Error | |||
NotAuthorized */ | .NotAuthorized */ | |||
UDISKS_ERROR_NOT_AUTHORIZED_CAN_OBTAIN, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_NOT_AUTHORIZED_CAN_OBTAIN, /* org.freedesktop.UDisks2.Error | |||
NotAuthorizedCanObtain */ | .NotAuthorizedCanObtain */ | |||
UDISKS_ERROR_NOT_AUTHORIZED_DISMISSED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_NOT_AUTHORIZED_DISMISSED, /* org.freedesktop.UDisks2.Error | |||
NotAuthorizedDismissed */ | .NotAuthorizedDismissed */ | |||
UDISKS_ERROR_ALREADY_MOUNTED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_ALREADY_MOUNTED, /* org.freedesktop.UDisks2.Error | |||
AlreadyMounted */ | .AlreadyMounted */ | |||
UDISKS_ERROR_NOT_MOUNTED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_NOT_MOUNTED, /* org.freedesktop.UDisks2.Error | |||
NotMounted */ | .NotMounted */ | |||
UDISKS_ERROR_OPTION_NOT_PERMITTED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_OPTION_NOT_PERMITTED, /* org.freedesktop.UDisks2.Error | |||
OptionNotPermitted */ | .OptionNotPermitted */ | |||
UDISKS_ERROR_MOUNTED_BY_OTHER_USER, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_MOUNTED_BY_OTHER_USER, /* org.freedesktop.UDisks2.Error | |||
MountedByOtherUser */ | .MountedByOtherUser */ | |||
UDISKS_ERROR_ALREADY_UNMOUNTING, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_ALREADY_UNMOUNTING, /* org.freedesktop.UDisks2.Error | |||
AlreadyUnmounting */ | .AlreadyUnmounting */ | |||
UDISKS_ERROR_NOT_SUPPORTED, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_NOT_SUPPORTED, /* org.freedesktop.UDisks2.Error | |||
NotSupported */ | .NotSupported */ | |||
UDISKS_ERROR_TIMED_OUT, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_TIMED_OUT, /* org.freedesktop.UDisks2.Error | |||
Timedout */ | .Timedout */ | |||
UDISKS_ERROR_WOULD_WAKEUP, /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_WOULD_WAKEUP, /* org.freedesktop.UDisks2.Error | |||
WouldWakeup */ | .WouldWakeup */ | |||
UDISKS_ERROR_DEVICE_BUSY /* org.freedesktop.UDisks.Error. | UDISKS_ERROR_DEVICE_BUSY /* org.freedesktop.UDisks2.Error | |||
DeviceBusy */ | .DeviceBusy */ | |||
} UDisksError; | } UDisksError; | |||
#define UDISKS_ERROR_NUM_ENTRIES (UDISKS_ERROR_DEVICE_BUSY + 1) | #define UDISKS_ERROR_NUM_ENTRIES (UDISKS_ERROR_DEVICE_BUSY + 1) | |||
/** | /** | |||
* UDisksPartitionTypeInfoFlags: | * UDisksPartitionTypeInfoFlags: | |||
* @UDISKS_PARTITION_TYPE_INFO_FLAGS_NONE: No flags set. | * @UDISKS_PARTITION_TYPE_INFO_FLAGS_NONE: No flags set. | |||
* @UDISKS_PARTITION_TYPE_INFO_FLAGS_SWAP: Partition type is used for swap. | * @UDISKS_PARTITION_TYPE_INFO_FLAGS_SWAP: Partition type is used for swap. | |||
* @UDISKS_PARTITION_TYPE_INFO_FLAGS_RAID: Partition type is used for RAID/ LVM or similar. | * @UDISKS_PARTITION_TYPE_INFO_FLAGS_RAID: Partition type is used for RAID/ LVM or similar. | |||
* @UDISKS_PARTITION_TYPE_INFO_FLAGS_HIDDEN: Partition type indicates the p artition is hidden (e.g. 'dos' type 0x1b "Hidden W95 FAT32"). Note that thi s is not the same as user-toggleable attributs/flags for a partition. | * @UDISKS_PARTITION_TYPE_INFO_FLAGS_HIDDEN: Partition type indicates the p artition is hidden (e.g. 'dos' type 0x1b "Hidden W95 FAT32"). Note that thi s is not the same as user-toggleable attributs/flags for a partition. | |||
End of changes. 1 change blocks. | ||||
30 lines changed or deleted | 30 lines changed or added | |||