Top | ![]() |
![]() |
![]() |
![]() |
StoragedBlock * | block | Read / Write |
StoragedDrive * | drive | Read / Write |
StoragedDriveAta * | drive-ata | Read / Write |
StoragedEncrypted * | encrypted | Read / Write |
StoragedFilesystem * | filesystem | Read / Write |
StoragedJob * | job | Read / Write |
StoragedLoop * | loop | Read / Write |
StoragedManager * | manager | Read / Write |
StoragedMDRaid * | mdraid | Read / Write |
StoragedPartition * | partition | Read / Write |
StoragedPartitionTable * | partition-table | Read / Write |
StoragedSwapspace * | swapspace | Read / Write |
StoragedObject | |
struct | StoragedObjectIface |
struct | StoragedObjectProxy |
struct | StoragedObjectProxyClass |
struct | StoragedObjectSkeleton |
struct | StoragedObjectSkeletonClass |
GInterface ╰── StoragedObject GObject ├── GDBusObjectProxy │ ╰── StoragedObjectProxy ╰── GDBusObjectSkeleton ╰── StoragedObjectSkeleton ├── StoragedLinuxBlockObject ├── StoragedLinuxDriveObject ╰── StoragedLinuxMDRaidObject
StoragedObjectProxy implements GDBusObject and StoragedObject.
StoragedObjectSkeleton implements GDBusObject and StoragedObject.
StoragedObject is implemented by StoragedLinuxBlockObject, StoragedLinuxDriveObject, StoragedLinuxMDRaidObject, StoragedObjectProxy and StoragedObjectSkeleton.
This section contains the StoragedObject, StoragedObjectProxy, and StoragedObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces.
StoragedBlock *
storaged_object_get_block (StoragedObject *object
);
Gets the StoragedBlock instance for the D-Bus interface org.storaged.Storaged.Block on object
, if any.
A StoragedBlock that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedDrive *
storaged_object_get_drive (StoragedObject *object
);
Gets the StoragedDrive instance for the D-Bus interface org.storaged.Storaged.Drive on object
, if any.
A StoragedDrive that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedDriveAta *
storaged_object_get_drive_ata (StoragedObject *object
);
Gets the StoragedDriveAta instance for the D-Bus interface org.storaged.Storaged.Drive.Ata on object
, if any.
A StoragedDriveAta that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedFilesystem *
storaged_object_get_filesystem (StoragedObject *object
);
Gets the StoragedFilesystem instance for the D-Bus interface org.storaged.Storaged.Filesystem on object
, if any.
A StoragedFilesystem that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedJob *
storaged_object_get_job (StoragedObject *object
);
Gets the StoragedJob instance for the D-Bus interface org.storaged.Storaged.Job on object
, if any.
A StoragedJob that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedSwapspace *
storaged_object_get_swapspace (StoragedObject *object
);
Gets the StoragedSwapspace instance for the D-Bus interface org.storaged.Storaged.Swapspace on object
, if any.
A StoragedSwapspace that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedEncrypted *
storaged_object_get_encrypted (StoragedObject *object
);
Gets the StoragedEncrypted instance for the D-Bus interface org.storaged.Storaged.Encrypted on object
, if any.
A StoragedEncrypted that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedLoop *
storaged_object_get_loop (StoragedObject *object
);
Gets the StoragedLoop instance for the D-Bus interface org.storaged.Storaged.Loop on object
, if any.
A StoragedLoop that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedManager *
storaged_object_get_manager (StoragedObject *object
);
Gets the StoragedManager instance for the D-Bus interface org.storaged.Storaged.Manager on object
, if any.
A StoragedManager that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedPartition *
storaged_object_get_partition (StoragedObject *object
);
Gets the StoragedPartition instance for the D-Bus interface org.storaged.Storaged.Partition on object
, if any.
A StoragedPartition that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedPartitionTable *
storaged_object_get_partition_table (StoragedObject *object
);
Gets the StoragedPartitionTable instance for the D-Bus interface org.storaged.Storaged.PartitionTable on object
, if any.
A StoragedPartitionTable that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
StoragedMDRaid *
storaged_object_get_mdraid (StoragedObject *object
);
Gets the StoragedMDRaid instance for the D-Bus interface org.storaged.Storaged.MDRaid on object
, if any.
A StoragedMDRaid that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
Since: 2.0.0
StoragedBlock *
storaged_object_peek_block (StoragedObject *object
);
Like storaged_object_get_block()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedBlock or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedDrive *
storaged_object_peek_drive (StoragedObject *object
);
Like storaged_object_get_drive()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedDrive or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedDriveAta *
storaged_object_peek_drive_ata (StoragedObject *object
);
Like storaged_object_get_drive_ata()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedDriveAta or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedFilesystem *
storaged_object_peek_filesystem (StoragedObject *object
);
Like storaged_object_get_filesystem()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedFilesystem or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedJob *
storaged_object_peek_job (StoragedObject *object
);
Like storaged_object_get_job()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedJob or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedSwapspace *
storaged_object_peek_swapspace (StoragedObject *object
);
Like storaged_object_get_swapspace()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedSwapspace or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedEncrypted *
storaged_object_peek_encrypted (StoragedObject *object
);
Like storaged_object_get_encrypted()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedEncrypted or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedLoop *
storaged_object_peek_loop (StoragedObject *object
);
Like storaged_object_get_loop()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedLoop or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedManager *
storaged_object_peek_manager (StoragedObject *object
);
Like storaged_object_get_manager()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedManager or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedPartition *
storaged_object_peek_partition (StoragedObject *object
);
Like storaged_object_get_partition()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedPartition or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedPartitionTable *
storaged_object_peek_partition_table (StoragedObject *object
);
Like storaged_object_get_partition_table()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedPartitionTable or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
StoragedMDRaid *
storaged_object_peek_mdraid (StoragedObject *object
);
Like storaged_object_get_mdraid()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A StoragedMDRaid or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
Since: 2.0.0
StoragedObjectProxy * storaged_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
StoragedObjectSkeleton *
storaged_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
void storaged_object_skeleton_set_block (StoragedObjectSkeleton *object
,StoragedBlock *interface_
);
Sets the StoragedBlock instance for the D-Bus interface org.storaged.Storaged.Block on object
.
void storaged_object_skeleton_set_drive (StoragedObjectSkeleton *object
,StoragedDrive *interface_
);
Sets the StoragedDrive instance for the D-Bus interface org.storaged.Storaged.Drive on object
.
void storaged_object_skeleton_set_drive_ata (StoragedObjectSkeleton *object
,StoragedDriveAta *interface_
);
Sets the StoragedDriveAta instance for the D-Bus interface org.storaged.Storaged.Drive.Ata on object
.
void storaged_object_skeleton_set_filesystem (StoragedObjectSkeleton *object
,StoragedFilesystem *interface_
);
Sets the StoragedFilesystem instance for the D-Bus interface org.storaged.Storaged.Filesystem on object
.
void storaged_object_skeleton_set_job (StoragedObjectSkeleton *object
,StoragedJob *interface_
);
Sets the StoragedJob instance for the D-Bus interface org.storaged.Storaged.Job on object
.
void storaged_object_skeleton_set_swapspace (StoragedObjectSkeleton *object
,StoragedSwapspace *interface_
);
Sets the StoragedSwapspace instance for the D-Bus interface org.storaged.Storaged.Swapspace on object
.
void storaged_object_skeleton_set_encrypted (StoragedObjectSkeleton *object
,StoragedEncrypted *interface_
);
Sets the StoragedEncrypted instance for the D-Bus interface org.storaged.Storaged.Encrypted on object
.
void storaged_object_skeleton_set_loop (StoragedObjectSkeleton *object
,StoragedLoop *interface_
);
Sets the StoragedLoop instance for the D-Bus interface org.storaged.Storaged.Loop on object
.
void storaged_object_skeleton_set_manager (StoragedObjectSkeleton *object
,StoragedManager *interface_
);
Sets the StoragedManager instance for the D-Bus interface org.storaged.Storaged.Manager on object
.
void storaged_object_skeleton_set_partition (StoragedObjectSkeleton *object
,StoragedPartition *interface_
);
Sets the StoragedPartition instance for the D-Bus interface org.storaged.Storaged.Partition on object
.
void storaged_object_skeleton_set_partition_table (StoragedObjectSkeleton *object
,StoragedPartitionTable *interface_
);
Sets the StoragedPartitionTable instance for the D-Bus interface org.storaged.Storaged.PartitionTable on object
.
void storaged_object_skeleton_set_mdraid (StoragedObjectSkeleton *object
,StoragedMDRaid *interface_
);
Sets the StoragedMDRaid instance for the D-Bus interface org.storaged.Storaged.MDRaid on object
.
Since: 2.0.0
typedef struct _StoragedObject StoragedObject;
The StoragedObject type is a specialized container of interfaces.
struct StoragedObjectIface { GTypeInterface parent_iface; };
Virtual table for the StoragedObject interface.
struct StoragedObjectProxy;
The StoragedObjectProxy structure contains only private data and should only be accessed using the provided API.
struct StoragedObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for StoragedObjectProxy.
struct StoragedObjectSkeleton;
The StoragedObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct StoragedObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for StoragedObjectSkeleton.
“block”
property“block” StoragedBlock *
The StoragedBlock instance corresponding to the D-Bus interface org.storaged.Storaged.Block, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“drive”
property“drive” StoragedDrive *
The StoragedDrive instance corresponding to the D-Bus interface org.storaged.Storaged.Drive, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“drive-ata”
property“drive-ata” StoragedDriveAta *
The StoragedDriveAta instance corresponding to the D-Bus interface org.storaged.Storaged.Drive.Ata, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“encrypted”
property“encrypted” StoragedEncrypted *
The StoragedEncrypted instance corresponding to the D-Bus interface org.storaged.Storaged.Encrypted, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“filesystem”
property“filesystem” StoragedFilesystem *
The StoragedFilesystem instance corresponding to the D-Bus interface org.storaged.Storaged.Filesystem, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“job”
property“job” StoragedJob *
The StoragedJob instance corresponding to the D-Bus interface org.storaged.Storaged.Job, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“loop”
property“loop” StoragedLoop *
The StoragedLoop instance corresponding to the D-Bus interface org.storaged.Storaged.Loop, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“manager”
property“manager” StoragedManager *
The StoragedManager instance corresponding to the D-Bus interface org.storaged.Storaged.Manager, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“mdraid”
property“mdraid” StoragedMDRaid *
The StoragedMDRaid instance corresponding to the D-Bus interface org.storaged.Storaged.MDRaid, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
Since: 2.0.0
“partition”
property“partition” StoragedPartition *
The StoragedPartition instance corresponding to the D-Bus interface org.storaged.Storaged.Partition, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“partition-table”
property“partition-table” StoragedPartitionTable *
The StoragedPartitionTable instance corresponding to the D-Bus interface org.storaged.Storaged.PartitionTable, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“swapspace”
property“swapspace” StoragedSwapspace *
The StoragedSwapspace instance corresponding to the D-Bus interface org.storaged.Storaged.Swapspace, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write