| Storaged Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
StoragedLinuxPartitionStoragedLinuxPartition — Linux implementation of StoragedPartition |
StoragedLinuxPartition; StoragedPartition * storaged_linux_partition_new (void); void storaged_linux_partition_update (StoragedLinuxPartition *partition,StoragedLinuxBlockObject *object); gboolean storaged_linux_partition_set_type_sync (StoragedLinuxPartition *partition,const gchar *type,uid_t caller_uid,GCancellable *cancellable,GError **error);
GObject
+----GDBusInterfaceSkeleton
+----StoragedPartitionSkeleton
+----StoragedLinuxPartition
typedef struct _StoragedLinuxPartition StoragedLinuxPartition;
The StoragedLinuxPartition structure contains only private data and should only be accessed using the provided API.
StoragedPartition * storaged_linux_partition_new (void);
Creates a new StoragedLinuxPartition instance.
Returns : |
A new StoragedLinuxPartition. Free with g_object_unref(). |
void storaged_linux_partition_update (StoragedLinuxPartition *partition,StoragedLinuxBlockObject *object);
Updates the interface.
|
A StoragedLinuxPartition. |
|
The enclosing StoragedLinuxBlockObject instance. |
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.
|
A StoragedLinuxPartition. |
|
The partition type to set. |
|
The uid of the process requesting this change or 0. |
|
A GCancellable or NULL. |
|
Return location for error or NULL. |
Returns : |
TRUE if the operation succeeded, FALSE if error is set. |