| Top |
StoragedLinuxPartitionStoragedLinuxPartition — Linux implementation of StoragedPartition |
GObject ╰── GDBusInterfaceSkeleton ╰── StoragedPartitionSkeleton ╰── StoragedLinuxPartition
StoragedPartition *
storaged_linux_partition_new (void);
Creates a new StoragedLinuxPartition instance.
void storaged_linux_partition_update (StoragedLinuxPartition *partition,StoragedLinuxBlockObject *object);
Updates the interface.
gboolean storaged_linux_partition_set_type_sync (StoragedLinuxPartition *partition,const gchar *type,uid_t caller_uid,GCancellable *cancellable,GError **error);
Sets the partition type. The calling thread is blocked while the operation is pending.
partition |
||
type |
The partition type to set. |
|
caller_uid |
The uid of the process requesting this change or 0. |
|
cancellable |
A GCancellable or |
|
error |
Return location for error or |
typedef struct _StoragedLinuxPartition StoragedLinuxPartition;
The StoragedLinuxPartition structure contains only private data and should only be accessed using the provided API.