Top | ![]() |
![]() |
![]() |
![]() |
struct | LibHalDrive_s |
typedef | LibHalDrive |
struct | LibHalVolume_s |
typedef | LibHalVolume |
struct | LibHalStoragePolicy_s |
typedef | LibHalStoragePolicy |
enum | LibHalStoragePolicyIcon |
LibHalStoragePolicyIconPair |
LibHalStoragePolicy *
libhal_storage_policy_new (void
);
libhal_storage_policy_new
is deprecated and should not be used in newly-written code.
LibHalDrive * libhal_drive_from_device_file (LibHalContext *hal_ctx
,const char *device_file
);
void
libhal_drive_free (LibHalDrive *drive
);
Free all resources used by a LibHalDrive object.
dbus_bool_t
libhal_drive_uses_removable_media (LibHalDrive *drive
);
dbus_bool_t
libhal_drive_is_media_detection_automatic
(LibHalDrive *drive
);
const char *
libhal_drive_get_partition_scheme (LibHalDrive *drive
);
dbus_bool_t
libhal_drive_no_partitions_hint (LibHalDrive *drive
);
LibHalDriveCdromCaps
libhal_drive_get_cdrom_caps (LibHalDrive *drive
);
const char *
libhal_drive_get_firmware_version (LibHalDrive *drive
);
const char *
libhal_drive_get_physical_device_udi (LibHalDrive *drive
);
const char *
libhal_drive_get_dedicated_icon_drive (LibHalDrive *drive
);
const char *
libhal_drive_get_dedicated_icon_volume
(LibHalDrive *drive
);
char * libhal_drive_policy_compute_display_name (LibHalDrive *drive
,LibHalVolume *volume
,LibHalStoragePolicy *policy
);
libhal_drive_policy_compute_display_name
is deprecated and should not be used in newly-written code.
char *
libhal_drive_policy_default_get_mount_root
(LibHalContext *hal_ctx
);
libhal_drive_policy_default_get_mount_root
is deprecated and should not be used in newly-written code.
LibHalVolume * libhal_volume_from_device_file (LibHalContext *hal_ctx
,const char *device_file
);
LibHalVolume * libhal_volume_from_mount_point (LibHalContext *hal_ctx
,const char *mount_point
);
void
libhal_volume_free (LibHalVolume *volume
);
Free all resources used by a LibHalVolume object.
dbus_uint64_t
libhal_volume_get_disc_capacity (LibHalVolume *volume
);
unsigned int
libhal_volume_get_device_major (LibHalVolume *volume
);
unsigned int
libhal_volume_get_device_minor (LibHalVolume *volume
);
dbus_bool_t
libhal_volume_is_mounted_read_only (LibHalVolume *volume
);
const char *
libhal_volume_get_partition_scheme (LibHalVolume *volume
);
const char *
libhal_volume_get_partition_type (LibHalVolume *volume
);
const char *
libhal_volume_get_partition_label (LibHalVolume *volume
);
const char *
libhal_volume_get_partition_uuid (LibHalVolume *volume
);
const char **
libhal_volume_get_partition_flags (LibHalVolume *volume
);
unsigned int
libhal_volume_get_partition_number (LibHalVolume *volume
);
dbus_uint64_t
libhal_volume_get_partition_start_offset
(LibHalVolume *volume
);
dbus_uint64_t
libhal_volume_get_partition_media_size
(LibHalVolume *volume
);
const char *
libhal_volume_get_storage_device_udi (LibHalVolume *volume
);
const char *
libhal_volume_crypto_get_backing_volume_udi
(LibHalVolume *volume
);
char * libhal_volume_crypto_get_clear_volume_udi (LibHalContext *hal_ctx
,LibHalVolume *volume
);
dbus_bool_t
libhal_volume_disc_is_rewritable (LibHalVolume *volume
);
dbus_bool_t
libhal_volume_disc_is_appendable (LibHalVolume *volume
);
LibHalVolumeDiscType
libhal_volume_get_disc_type (LibHalVolume *volume
);
int
libhal_volume_get_msdos_part_table_type
(LibHalVolume *volume
);
libhal_volume_get_msdos_part_table_type
is deprecated and should not be used in newly-written code.