libhal-storage

libhal-storage

Functions

LibHalStoragePolicy * libhal_storage_policy_new ()
void libhal_storage_policy_free ()
void libhal_storage_policy_set_icon_path ()
void libhal_storage_policy_set_icon_mapping ()
const char * libhal_storage_policy_lookup_icon ()
LibHalDrive * libhal_drive_from_udi ()
LibHalDrive * libhal_drive_from_device_file ()
void libhal_drive_free ()
dbus_bool_t libhal_drive_is_hotpluggable ()
dbus_bool_t libhal_drive_uses_removable_media ()
dbus_bool_t libhal_drive_is_media_detected ()
dbus_bool_t libhal_drive_is_media_detection_automatic ()
dbus_uint64_t libhal_drive_get_size ()
dbus_uint64_t libhal_drive_get_media_size ()
const char * libhal_drive_get_partition_scheme ()
dbus_bool_t libhal_drive_no_partitions_hint ()
dbus_bool_t libhal_drive_requires_eject ()
LibHalDriveBus libhal_drive_get_bus ()
LibHalDriveCdromCaps libhal_drive_get_cdrom_caps ()
unsigned int libhal_drive_get_device_major ()
unsigned int libhal_drive_get_device_minor ()
const char * libhal_drive_get_type_textual ()
const char * libhal_drive_get_device_file ()
const char * libhal_drive_get_udi ()
const char * libhal_drive_get_serial ()
const char * libhal_drive_get_firmware_version ()
const char * libhal_drive_get_model ()
const char * libhal_drive_get_vendor ()
const char * libhal_drive_get_physical_device_udi ()
const char * libhal_drive_get_dedicated_icon_drive ()
const char * libhal_drive_get_dedicated_icon_volume ()
char * libhal_drive_policy_compute_display_name ()
char * libhal_drive_policy_compute_icon_name ()
dbus_bool_t libhal_drive_policy_is_mountable ()
const char * libhal_drive_policy_get_desired_mount_point ()
const char * libhal_drive_policy_get_mount_options ()
const char * libhal_drive_policy_get_mount_fs ()
char ** libhal_drive_find_all_volumes ()
char * libhal_drive_policy_default_get_mount_root ()
dbus_bool_t libhal_drive_policy_default_use_managed_keyword ()
char * libhal_drive_policy_default_get_managed_keyword_primary ()
char * libhal_drive_policy_default_get_managed_keyword_secondary ()
LibHalVolume * libhal_volume_from_udi ()
LibHalVolume * libhal_volume_from_device_file ()
LibHalVolume * libhal_volume_from_mount_point ()
void libhal_volume_free ()
dbus_uint64_t libhal_volume_get_size ()
dbus_uint64_t libhal_volume_get_disc_capacity ()
const char * libhal_volume_get_udi ()
const char * libhal_volume_get_device_file ()
unsigned int libhal_volume_get_device_major ()
unsigned int libhal_volume_get_device_minor ()
const char * libhal_volume_get_fstype ()
const char * libhal_volume_get_fsversion ()
LibHalVolumeUsage libhal_volume_get_fsusage ()
dbus_bool_t libhal_volume_is_mounted ()
dbus_bool_t libhal_volume_is_mounted_read_only ()
dbus_bool_t libhal_volume_is_partition ()
dbus_bool_t libhal_volume_is_disc ()
const char * libhal_volume_get_partition_scheme ()
const char * libhal_volume_get_partition_type ()
const char * libhal_volume_get_partition_label ()
const char * libhal_volume_get_partition_uuid ()
const char ** libhal_volume_get_partition_flags ()
unsigned int libhal_volume_get_partition_number ()
dbus_uint64_t libhal_volume_get_partition_start_offset ()
dbus_uint64_t libhal_volume_get_partition_media_size ()
const char * libhal_volume_get_label ()
const char * libhal_volume_get_mount_point ()
const char * libhal_volume_get_uuid ()
const char * libhal_volume_get_storage_device_udi ()
const char * libhal_volume_crypto_get_backing_volume_udi ()
char * libhal_volume_crypto_get_clear_volume_udi ()
dbus_bool_t libhal_volume_disc_has_audio ()
dbus_bool_t libhal_volume_disc_has_data ()
dbus_bool_t libhal_volume_disc_is_blank ()
dbus_bool_t libhal_volume_disc_is_rewritable ()
dbus_bool_t libhal_volume_disc_is_appendable ()
LibHalVolumeDiscType libhal_volume_get_disc_type ()
int libhal_volume_get_msdos_part_table_type ()
dbus_uint64_t libhal_volume_get_msdos_part_table_start ()
dbus_uint64_t libhal_volume_get_msdos_part_table_size ()
dbus_bool_t libhal_volume_should_ignore ()
char * libhal_volume_policy_compute_size_as_string ()
char * libhal_volume_policy_compute_display_name ()
char * libhal_volume_policy_compute_icon_name ()
dbus_bool_t libhal_volume_policy_should_be_visible ()
dbus_bool_t libhal_volume_policy_is_mountable ()
const char * libhal_volume_policy_get_desired_mount_point ()
const char * libhal_volume_policy_get_mount_options ()
const char * libhal_volume_policy_get_mount_fs ()

Types and Values

Description

Functions

libhal_storage_policy_new ()

LibHalStoragePolicy *
libhal_storage_policy_new (void);

libhal_storage_policy_new is deprecated and should not be used in newly-written code.


libhal_storage_policy_free ()

void
libhal_storage_policy_free (LibHalStoragePolicy *policy);

libhal_storage_policy_free is deprecated and should not be used in newly-written code.


libhal_storage_policy_set_icon_path ()

void
libhal_storage_policy_set_icon_path (LibHalStoragePolicy *policy,
                                     LibHalStoragePolicyIcon icon,
                                     const char *path);

libhal_storage_policy_set_icon_path is deprecated and should not be used in newly-written code.


libhal_storage_policy_set_icon_mapping ()

void
libhal_storage_policy_set_icon_mapping
                               (LibHalStoragePolicy *policy,
                                LibHalStoragePolicyIconPair *pairs);

libhal_storage_policy_set_icon_mapping is deprecated and should not be used in newly-written code.


libhal_storage_policy_lookup_icon ()

const char *
libhal_storage_policy_lookup_icon (LibHalStoragePolicy *policy,
                                   LibHalStoragePolicyIcon icon);

libhal_storage_policy_lookup_icon is deprecated and should not be used in newly-written code.


libhal_drive_from_udi ()

LibHalDrive *
libhal_drive_from_udi (LibHalContext *hal_ctx,
                       const char *udi);

Parameters

hal_ctx

libhal context

 

udi

HAL UDI

 

Returns

LibHalDrive object or NULL if UDI is invalid

Given a UDI for a HAL device of capability 'storage', this function retrieves all the relevant properties into convenient in-process data structures.


libhal_drive_from_device_file ()

LibHalDrive *
libhal_drive_from_device_file (LibHalContext *hal_ctx,
                               const char *device_file);

Parameters

hal_ctx

libhal context to use

 

device_file

Name of special device file, e.g. '/dev/hdc'

 

Returns

LibHalDrive object or NULL if it doesn't exist

Get the drive object that either is (when given e.g. /dev/sdb) or contains (when given e.g. /dev/sdb1) the given device file.


libhal_drive_free ()

void
libhal_drive_free (LibHalDrive *drive);

Free all resources used by a LibHalDrive object.

Parameters

drive

Object to free

 

libhal_drive_is_hotpluggable ()

dbus_bool_t
libhal_drive_is_hotpluggable (LibHalDrive *drive);


libhal_drive_uses_removable_media ()

dbus_bool_t
libhal_drive_uses_removable_media (LibHalDrive *drive);


libhal_drive_is_media_detected ()

dbus_bool_t
libhal_drive_is_media_detected (LibHalDrive *drive);


libhal_drive_is_media_detection_automatic ()

dbus_bool_t
libhal_drive_is_media_detection_automatic
                               (LibHalDrive *drive);


libhal_drive_get_size ()

dbus_uint64_t
libhal_drive_get_size (LibHalDrive *drive);


libhal_drive_get_media_size ()

dbus_uint64_t
libhal_drive_get_media_size (LibHalDrive *drive);


libhal_drive_get_partition_scheme ()

const char *
libhal_drive_get_partition_scheme (LibHalDrive *drive);


libhal_drive_no_partitions_hint ()

dbus_bool_t
libhal_drive_no_partitions_hint (LibHalDrive *drive);


libhal_drive_requires_eject ()

dbus_bool_t
libhal_drive_requires_eject (LibHalDrive *drive);


libhal_drive_get_bus ()

LibHalDriveBus
libhal_drive_get_bus (LibHalDrive *drive);


libhal_drive_get_cdrom_caps ()

LibHalDriveCdromCaps
libhal_drive_get_cdrom_caps (LibHalDrive *drive);


libhal_drive_get_device_major ()

unsigned int
libhal_drive_get_device_major (LibHalDrive *drive);


libhal_drive_get_device_minor ()

unsigned int
libhal_drive_get_device_minor (LibHalDrive *drive);


libhal_drive_get_type_textual ()

const char *
libhal_drive_get_type_textual (LibHalDrive *drive);


libhal_drive_get_device_file ()

const char *
libhal_drive_get_device_file (LibHalDrive *drive);


libhal_drive_get_udi ()

const char *
libhal_drive_get_udi (LibHalDrive *drive);


libhal_drive_get_serial ()

const char *
libhal_drive_get_serial (LibHalDrive *drive);


libhal_drive_get_firmware_version ()

const char *
libhal_drive_get_firmware_version (LibHalDrive *drive);


libhal_drive_get_model ()

const char *
libhal_drive_get_model (LibHalDrive *drive);


libhal_drive_get_vendor ()

const char *
libhal_drive_get_vendor (LibHalDrive *drive);


libhal_drive_get_physical_device_udi ()

const char *
libhal_drive_get_physical_device_udi (LibHalDrive *drive);


libhal_drive_get_dedicated_icon_drive ()

const char *
libhal_drive_get_dedicated_icon_drive (LibHalDrive *drive);


libhal_drive_get_dedicated_icon_volume ()

const char *
libhal_drive_get_dedicated_icon_volume
                               (LibHalDrive *drive);


libhal_drive_policy_compute_display_name ()

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.


libhal_drive_policy_compute_icon_name ()

char *
libhal_drive_policy_compute_icon_name (LibHalDrive *drive,
                                       LibHalVolume *volume,
                                       LibHalStoragePolicy *policy);

libhal_drive_policy_compute_icon_name is deprecated and should not be used in newly-written code.


libhal_drive_policy_is_mountable ()

dbus_bool_t
libhal_drive_policy_is_mountable (LibHalDrive *drive,
                                  LibHalStoragePolicy *policy);

libhal_drive_policy_is_mountable is deprecated and should not be used in newly-written code.


libhal_drive_policy_get_desired_mount_point ()

const char *
libhal_drive_policy_get_desired_mount_point
                               (LibHalDrive *drive,
                                LibHalStoragePolicy *policy);

libhal_drive_policy_get_desired_mount_point is deprecated and should not be used in newly-written code.


libhal_drive_policy_get_mount_options ()

const char *
libhal_drive_policy_get_mount_options (LibHalDrive *drive,
                                       LibHalStoragePolicy *policy);

libhal_drive_policy_get_mount_options is deprecated and should not be used in newly-written code.


libhal_drive_policy_get_mount_fs ()

const char *
libhal_drive_policy_get_mount_fs (LibHalDrive *drive,
                                  LibHalStoragePolicy *policy);

libhal_drive_policy_get_mount_fs is deprecated and should not be used in newly-written code.


libhal_drive_find_all_volumes ()

char **
libhal_drive_find_all_volumes (LibHalContext *hal_ctx,
                               LibHalDrive *drive,
                               int *num_volumes);


libhal_drive_policy_default_get_mount_root ()

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.


libhal_drive_policy_default_use_managed_keyword ()

dbus_bool_t
libhal_drive_policy_default_use_managed_keyword
                               (LibHalContext *hal_ctx);

libhal_drive_policy_default_use_managed_keyword is deprecated and should not be used in newly-written code.


libhal_drive_policy_default_get_managed_keyword_primary ()

char *
libhal_drive_policy_default_get_managed_keyword_primary
                               (LibHalContext *hal_ctx);

libhal_drive_policy_default_get_managed_keyword_primary is deprecated and should not be used in newly-written code.


libhal_drive_policy_default_get_managed_keyword_secondary ()

char *
libhal_drive_policy_default_get_managed_keyword_secondary
                               (LibHalContext *hal_ctx);

libhal_drive_policy_default_get_managed_keyword_secondary is deprecated and should not be used in newly-written code.


libhal_volume_from_udi ()

LibHalVolume *
libhal_volume_from_udi (LibHalContext *hal_ctx,
                        const char *udi);

Parameters

hal_ctx

libhal context

 

udi

HAL UDI

 

Returns

LibHalVolume object or NULL if UDI is invalid

Given a UDI for a LIBHAL device of capability 'volume', this function retrieves all the relevant properties into convenient in-process data structures.


libhal_volume_from_device_file ()

LibHalVolume *
libhal_volume_from_device_file (LibHalContext *hal_ctx,
                                const char *device_file);

Parameters

hal_ctx

libhal context to use

 

device_file

Name of special device file, e.g. '/dev/hda5'

 

Returns

LibHalVolume object or NULL if it doesn't exist

Get the volume object for a given device file.


libhal_volume_from_mount_point ()

LibHalVolume *
libhal_volume_from_mount_point (LibHalContext *hal_ctx,
                                const char *mount_point);

Parameters

hal_ctx

libhal context to use

 

mount_point

Name of mount point without terminting slash, e.g. '/media/disk'

 

Returns

LibHalVolume object or NULL if it doesn't exist

Get the volume object for a given mount point


libhal_volume_free ()

void
libhal_volume_free (LibHalVolume *volume);

Free all resources used by a LibHalVolume object.

Parameters

volume

Object to free

 

libhal_volume_get_size ()

dbus_uint64_t
libhal_volume_get_size (LibHalVolume *volume);


libhal_volume_get_disc_capacity ()

dbus_uint64_t
libhal_volume_get_disc_capacity (LibHalVolume *volume);


libhal_volume_get_udi ()

const char *
libhal_volume_get_udi (LibHalVolume *volume);


libhal_volume_get_device_file ()

const char *
libhal_volume_get_device_file (LibHalVolume *volume);


libhal_volume_get_device_major ()

unsigned int
libhal_volume_get_device_major (LibHalVolume *volume);


libhal_volume_get_device_minor ()

unsigned int
libhal_volume_get_device_minor (LibHalVolume *volume);


libhal_volume_get_fstype ()

const char *
libhal_volume_get_fstype (LibHalVolume *volume);


libhal_volume_get_fsversion ()

const char *
libhal_volume_get_fsversion (LibHalVolume *volume);


libhal_volume_get_fsusage ()

LibHalVolumeUsage
libhal_volume_get_fsusage (LibHalVolume *volume);


libhal_volume_is_mounted ()

dbus_bool_t
libhal_volume_is_mounted (LibHalVolume *volume);


libhal_volume_is_mounted_read_only ()

dbus_bool_t
libhal_volume_is_mounted_read_only (LibHalVolume *volume);


libhal_volume_is_partition ()

dbus_bool_t
libhal_volume_is_partition (LibHalVolume *volume);


libhal_volume_is_disc ()

dbus_bool_t
libhal_volume_is_disc (LibHalVolume *volume);


libhal_volume_get_partition_scheme ()

const char *
libhal_volume_get_partition_scheme (LibHalVolume *volume);


libhal_volume_get_partition_type ()

const char *
libhal_volume_get_partition_type (LibHalVolume *volume);


libhal_volume_get_partition_label ()

const char *
libhal_volume_get_partition_label (LibHalVolume *volume);


libhal_volume_get_partition_uuid ()

const char *
libhal_volume_get_partition_uuid (LibHalVolume *volume);


libhal_volume_get_partition_flags ()

const char **
libhal_volume_get_partition_flags (LibHalVolume *volume);


libhal_volume_get_partition_number ()

unsigned int
libhal_volume_get_partition_number (LibHalVolume *volume);


libhal_volume_get_partition_start_offset ()

dbus_uint64_t
libhal_volume_get_partition_start_offset
                               (LibHalVolume *volume);


libhal_volume_get_partition_media_size ()

dbus_uint64_t
libhal_volume_get_partition_media_size
                               (LibHalVolume *volume);


libhal_volume_get_label ()

const char *
libhal_volume_get_label (LibHalVolume *volume);


libhal_volume_get_mount_point ()

const char *
libhal_volume_get_mount_point (LibHalVolume *volume);


libhal_volume_get_uuid ()

const char *
libhal_volume_get_uuid (LibHalVolume *volume);


libhal_volume_get_storage_device_udi ()

const char *
libhal_volume_get_storage_device_udi (LibHalVolume *volume);


libhal_volume_crypto_get_backing_volume_udi ()

const char *
libhal_volume_crypto_get_backing_volume_udi
                               (LibHalVolume *volume);


libhal_volume_crypto_get_clear_volume_udi ()

char *
libhal_volume_crypto_get_clear_volume_udi
                               (LibHalContext *hal_ctx,
                                LibHalVolume *volume);


libhal_volume_disc_has_audio ()

dbus_bool_t
libhal_volume_disc_has_audio (LibHalVolume *volume);


libhal_volume_disc_has_data ()

dbus_bool_t
libhal_volume_disc_has_data (LibHalVolume *volume);


libhal_volume_disc_is_blank ()

dbus_bool_t
libhal_volume_disc_is_blank (LibHalVolume *volume);


libhal_volume_disc_is_rewritable ()

dbus_bool_t
libhal_volume_disc_is_rewritable (LibHalVolume *volume);


libhal_volume_disc_is_appendable ()

dbus_bool_t
libhal_volume_disc_is_appendable (LibHalVolume *volume);


libhal_volume_get_disc_type ()

LibHalVolumeDiscType
libhal_volume_get_disc_type (LibHalVolume *volume);


libhal_volume_get_msdos_part_table_type ()

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.

Parameters

volume

Volume object

 

Returns

The partition type or -1 if volume is not a partition or the media the volume stems from isn't partition with a MS DOS style table

If the volume is on a drive with a MSDOS style partition table, return the partition table id.


libhal_volume_get_msdos_part_table_start ()

dbus_uint64_t
libhal_volume_get_msdos_part_table_start
                               (LibHalVolume *volume);

libhal_volume_get_msdos_part_table_start is deprecated and should not be used in newly-written code.

Parameters

volume

Volume object

 

Returns

The partition start offset or -1 if volume isnt a partition or the media the volume stems from isn't partition with a MS DOS style table

If the volume is on a drive with a MSDOS style partition table, return the partition start offset according to the partition table.


libhal_volume_get_msdos_part_table_size ()

dbus_uint64_t
libhal_volume_get_msdos_part_table_size
                               (LibHalVolume *volume);

libhal_volume_get_msdos_part_table_size is deprecated and should not be used in newly-written code.

Parameters

volume

Volume object

 

Returns

The partition size or -1 if volume is not a partition or the media the volume stems from isn't partition with a MS DOS style table

If the volume is on a drive with a MSDOS style partition table, return the partition size according to the partition table.


libhal_volume_should_ignore ()

dbus_bool_t
libhal_volume_should_ignore (LibHalVolume *volume);


libhal_volume_policy_compute_size_as_string ()

char *
libhal_volume_policy_compute_size_as_string
                               (LibHalVolume *volume);

libhal_volume_policy_compute_size_as_string is deprecated and should not be used in newly-written code.


libhal_volume_policy_compute_display_name ()

char *
libhal_volume_policy_compute_display_name
                               (LibHalDrive *drive,
                                LibHalVolume *volume,
                                LibHalStoragePolicy *policy);

libhal_volume_policy_compute_display_name is deprecated and should not be used in newly-written code.


libhal_volume_policy_compute_icon_name ()

char *
libhal_volume_policy_compute_icon_name
                               (LibHalDrive *drive,
                                LibHalVolume *volume,
                                LibHalStoragePolicy *policy);

libhal_volume_policy_compute_icon_name is deprecated and should not be used in newly-written code.


libhal_volume_policy_should_be_visible ()

dbus_bool_t
libhal_volume_policy_should_be_visible
                               (LibHalDrive *drive,
                                LibHalVolume *volume,
                                LibHalStoragePolicy *policy,
                                const char *target_mount_point);

libhal_volume_policy_should_be_visible is deprecated and should not be used in newly-written code.

Parameters

drive

Drive that the volume is stemming from

 

volume

Volume

 

policy

Policy object

 

target_mount_point

The mount point that the volume is expected to be mounted at if not already mounted. This may e.g. stem from /etc/fstab. If this is NULL the then mount point isn't taking into account when evaluating whether the volume should be visible

 

Returns

Whether the volume should be shown in a desktop environment. Policy function to determine if a volume should be visible in a desktop environment. This is useful to hide certain system volumes as bootstrap partitions, the /usr partition, swap partitions and other volumes that a unprivileged desktop user shouldn't know even exists.


libhal_volume_policy_is_mountable ()

dbus_bool_t
libhal_volume_policy_is_mountable (LibHalDrive *drive,
                                   LibHalVolume *volume,
                                   LibHalStoragePolicy *policy);

libhal_volume_policy_is_mountable is deprecated and should not be used in newly-written code.


libhal_volume_policy_get_desired_mount_point ()

const char *
libhal_volume_policy_get_desired_mount_point
                               (LibHalDrive *drive,
                                LibHalVolume *volume,
                                LibHalStoragePolicy *policy);

libhal_volume_policy_get_desired_mount_point is deprecated and should not be used in newly-written code.


libhal_volume_policy_get_mount_options ()

const char *
libhal_volume_policy_get_mount_options
                               (LibHalDrive *drive,
                                LibHalVolume *volume,
                                LibHalStoragePolicy *policy);

libhal_volume_policy_get_mount_options is deprecated and should not be used in newly-written code.


libhal_volume_policy_get_mount_fs ()

const char *
libhal_volume_policy_get_mount_fs (LibHalDrive *drive,
                                   LibHalVolume *volume,
                                   LibHalStoragePolicy *policy);

libhal_volume_policy_get_mount_fs is deprecated and should not be used in newly-written code.

Types and Values

LibHalVolume

typedef struct LibHalVolume_s LibHalVolume;


LibHalStoragePolicy

typedef struct LibHalStoragePolicy_s LibHalStoragePolicy;


enum LibHalStoragePolicyIcon

Members

LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK

   

LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_IDE

   

LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_SCSI

   

LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_USB

   

LIBHAL_STORAGE_ICON_DRIVE_REMOVABLE_DISK_IEEE1394

   

LIBHAL_STORAGE_ICON_DRIVE_DISK

   

LIBHAL_STORAGE_ICON_DRIVE_DISK_IDE

   

LIBHAL_STORAGE_ICON_DRIVE_DISK_SCSI

   

LIBHAL_STORAGE_ICON_DRIVE_DISK_USB

   

LIBHAL_STORAGE_ICON_DRIVE_DISK_IEEE1394

   

LIBHAL_STORAGE_ICON_DRIVE_CDROM

   

LIBHAL_STORAGE_ICON_DRIVE_CDROM_IDE

   

LIBHAL_STORAGE_ICON_DRIVE_CDROM_SCSI

   

LIBHAL_STORAGE_ICON_DRIVE_CDROM_USB

   

LIBHAL_STORAGE_ICON_DRIVE_CDROM_IEEE1394

   

LIBHAL_STORAGE_ICON_DRIVE_FLOPPY

   

LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_IDE

   

LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_SCSI

   

LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_USB

   

LIBHAL_STORAGE_ICON_DRIVE_FLOPPY_IEEE1394

   

LIBHAL_STORAGE_ICON_DRIVE_TAPE

   

LIBHAL_STORAGE_ICON_DRIVE_COMPACT_FLASH

   

LIBHAL_STORAGE_ICON_DRIVE_MEMORY_STICK

   

LIBHAL_STORAGE_ICON_DRIVE_SMART_MEDIA

   

LIBHAL_STORAGE_ICON_DRIVE_SD_MMC

   

LIBHAL_STORAGE_ICON_DRIVE_CAMERA

   

LIBHAL_STORAGE_ICON_DRIVE_PORTABLE_AUDIO_PLAYER

   

LIBHAL_STORAGE_ICON_DRIVE_ZIP

   

LIBHAL_STORAGE_ICON_DRIVE_JAZ

   

LIBHAL_STORAGE_ICON_DRIVE_FLASH_KEY

   

LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK

   

LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_IDE

   

LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_SCSI

   

LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_USB

   

LIBHAL_STORAGE_ICON_VOLUME_REMOVABLE_DISK_IEEE1394

   

LIBHAL_STORAGE_ICON_VOLUME_DISK

   

LIBHAL_STORAGE_ICON_VOLUME_DISK_IDE

   

LIBHAL_STORAGE_ICON_VOLUME_DISK_SCSI

   

LIBHAL_STORAGE_ICON_VOLUME_DISK_USB

   

LIBHAL_STORAGE_ICON_VOLUME_DISK_IEEE1394

   

LIBHAL_STORAGE_ICON_VOLUME_CDROM

   

LIBHAL_STORAGE_ICON_VOLUME_CDROM_IDE

   

LIBHAL_STORAGE_ICON_VOLUME_CDROM_SCSI

   

LIBHAL_STORAGE_ICON_VOLUME_CDROM_USB

   

LIBHAL_STORAGE_ICON_VOLUME_CDROM_IEEE1394

   

LIBHAL_STORAGE_ICON_VOLUME_FLOPPY

   

LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_IDE

   

LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_SCSI

   

LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_USB

   

LIBHAL_STORAGE_ICON_VOLUME_FLOPPY_IEEE1394

   

LIBHAL_STORAGE_ICON_VOLUME_TAPE

   

LIBHAL_STORAGE_ICON_VOLUME_COMPACT_FLASH

   

LIBHAL_STORAGE_ICON_VOLUME_MEMORY_STICK

   

LIBHAL_STORAGE_ICON_VOLUME_SMART_MEDIA

   

LIBHAL_STORAGE_ICON_VOLUME_SD_MMC

   

LIBHAL_STORAGE_ICON_VOLUME_CAMERA

   

LIBHAL_STORAGE_ICON_VOLUME_PORTABLE_AUDIO_PLAYER

   

LIBHAL_STORAGE_ICON_VOLUME_ZIP

   

LIBHAL_STORAGE_ICON_VOLUME_JAZ

   

LIBHAL_STORAGE_ICON_VOLUME_FLASH_KEY

   

LIBHAL_STORAGE_ICON_DISC_CDROM

   

LIBHAL_STORAGE_ICON_DISC_CDR

   

LIBHAL_STORAGE_ICON_DISC_CDRW

   

LIBHAL_STORAGE_ICON_DISC_DVDROM

   

LIBHAL_STORAGE_ICON_DISC_DVDRAM

   

LIBHAL_STORAGE_ICON_DISC_DVDR

   

LIBHAL_STORAGE_ICON_DISC_DVDRW

   

LIBHAL_STORAGE_ICON_DISC_DVDPLUSR

   

LIBHAL_STORAGE_ICON_DISC_DVDPLUSRW

   

LIBHAL_STORAGE_ICON_DISC_DVDPLUSRWDL

   

LIBHAL_STORAGE_ICON_DISC_BDROM

   

LIBHAL_STORAGE_ICON_DISC_BDR

   

LIBHAL_STORAGE_ICON_DISC_BDRE

   

LIBHAL_STORAGE_ICON_DISC_HDDVDROM

   

LIBHAL_STORAGE_ICON_DISC_HDDVDR

   

LIBHAL_STORAGE_ICON_DISC_HDDVDRW

   

LIBHAL_STORAGE_ICON_DISC_MRW

   

LIBHAL_STORAGE_ICON_DISC_MRWW

   

LIBHAL_STORAGE_ICON_DISC_MO

   

LibHalStoragePolicyIconPair

typedef struct {
	LibHalStoragePolicyIcon icon;
	const char *icon_path;
} LibHalStoragePolicyIconPair;


enum LibHalDriveBus

Members

LIBHAL_DRIVE_BUS_UNKNOWN

   

LIBHAL_DRIVE_BUS_IDE

   

LIBHAL_DRIVE_BUS_SCSI

   

LIBHAL_DRIVE_BUS_USB

   

LIBHAL_DRIVE_BUS_IEEE1394

   

LIBHAL_DRIVE_BUS_CCW

   

enum LibHalDriveType

Members

LIBHAL_DRIVE_TYPE_REMOVABLE_DISK

   

LIBHAL_DRIVE_TYPE_DISK

   

LIBHAL_DRIVE_TYPE_CDROM

   

LIBHAL_DRIVE_TYPE_FLOPPY

   

LIBHAL_DRIVE_TYPE_TAPE

   

LIBHAL_DRIVE_TYPE_COMPACT_FLASH

   

LIBHAL_DRIVE_TYPE_MEMORY_STICK

   

LIBHAL_DRIVE_TYPE_SMART_MEDIA

   

LIBHAL_DRIVE_TYPE_SD_MMC

   

LIBHAL_DRIVE_TYPE_CAMERA

   

LIBHAL_DRIVE_TYPE_PORTABLE_AUDIO_PLAYER

   

LIBHAL_DRIVE_TYPE_ZIP

   

LIBHAL_DRIVE_TYPE_JAZ

   

LIBHAL_DRIVE_TYPE_FLASHKEY

   

LIBHAL_DRIVE_TYPE_MO

   

enum LibHalDriveCdromCaps

Members

LIBHAL_DRIVE_CDROM_CAPS_CDROM

   

LIBHAL_DRIVE_CDROM_CAPS_CDR

   

LIBHAL_DRIVE_CDROM_CAPS_CDRW

   

LIBHAL_DRIVE_CDROM_CAPS_DVDRAM

   

LIBHAL_DRIVE_CDROM_CAPS_DVDROM

   

LIBHAL_DRIVE_CDROM_CAPS_DVDR

   

LIBHAL_DRIVE_CDROM_CAPS_DVDRW

   

LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSR

   

LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRW

   

LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRDL

   

LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRWDL

   

LIBHAL_DRIVE_CDROM_CAPS_BDROM

   

LIBHAL_DRIVE_CDROM_CAPS_BDR

   

LIBHAL_DRIVE_CDROM_CAPS_BDRE

   

LIBHAL_DRIVE_CDROM_CAPS_HDDVDROM

   

LIBHAL_DRIVE_CDROM_CAPS_HDDVDR

   

LIBHAL_DRIVE_CDROM_CAPS_HDDVDRW

   

LIBHAL_DRIVE_CDROM_CAPS_MRW

   

LIBHAL_DRIVE_CDROM_CAPS_MRWW

   

LIBHAL_DRIVE_CDROM_CAPS_MO

   

enum LibHalVolumeUsage

Members

LIBHAL_VOLUME_USAGE_MOUNTABLE_FILESYSTEM

   

LIBHAL_VOLUME_USAGE_PARTITION_TABLE

   

LIBHAL_VOLUME_USAGE_RAID_MEMBER

   

LIBHAL_VOLUME_USAGE_CRYPTO

   

LIBHAL_VOLUME_USAGE_UNKNOWN

   

LIBHAL_VOLUME_USAGE_OTHER

   

enum LibHalVolumeDiscType

Members

LIBHAL_VOLUME_DISC_TYPE_CDROM

   

LIBHAL_VOLUME_DISC_TYPE_CDR

   

LIBHAL_VOLUME_DISC_TYPE_CDRW

   

LIBHAL_VOLUME_DISC_TYPE_DVDROM

   

LIBHAL_VOLUME_DISC_TYPE_DVDRAM

   

LIBHAL_VOLUME_DISC_TYPE_DVDR

   

LIBHAL_VOLUME_DISC_TYPE_DVDRW

   

LIBHAL_VOLUME_DISC_TYPE_DVDPLUSR

   

LIBHAL_VOLUME_DISC_TYPE_DVDPLUSRW

   

LIBHAL_VOLUME_DISC_TYPE_DVDPLUSR_DL

   

LIBHAL_VOLUME_DISC_TYPE_BDROM

   

LIBHAL_VOLUME_DISC_TYPE_BDR

   

LIBHAL_VOLUME_DISC_TYPE_BDRE

   

LIBHAL_VOLUME_DISC_TYPE_HDDVDROM

   

LIBHAL_VOLUME_DISC_TYPE_HDDVDR

   

LIBHAL_VOLUME_DISC_TYPE_HDDVDRW

   

LIBHAL_VOLUME_DISC_TYPE_MO

   

LIBHAL_VOLUME_DISC_TYPE_DVDR_DL

   

struct LibHalDrive_s

struct LibHalDrive_s;


struct LibHalStoragePolicy_s

struct LibHalStoragePolicy_s;


struct LibHalVolume_s

struct LibHalVolume_s;