Top |
UDisksLinuxBlockUDisksLinuxBlock — Linux implementation of UDisksBlock |
UDisksBlock * | udisks_linux_block_new () |
void | udisks_linux_block_update () |
gboolean | udisks_linux_block_matches_id () |
UDisksBlock *
udisks_linux_block_new (void
);
Creates a new UDisksLinuxBlock instance.
void udisks_linux_block_update (UDisksLinuxBlock *block
,UDisksLinuxBlockObject *object
);
Updates the interface.
gboolean udisks_linux_block_matches_id (UDisksLinuxBlock *block
,const gchar *device_path
);
Compares block device identifiers and returns TRUE
if match is found. The device_path
argument may be a device file or a common KEY=VALUE identifier as used e.g. in /etc/fstab
or /etc/crypttab.
The device_path
should be a demangled (unquoted/unencoded/unescaped) string.
typedef struct _UDisksLinuxBlock UDisksLinuxBlock;
The UDisksLinuxBlock structure contains only private data and should only be accessed using the provided API.