StoragedLinuxDrive

StoragedLinuxDrive — Linux implementation of StoragedDrive

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GDBusInterfaceSkeleton
        ╰── StoragedDriveSkeleton
            ╰── StoragedLinuxDrive

Implemented Interfaces

StoragedLinuxDrive implements GDBusInterface and StoragedDrive.

Description

This type provides an implementation of the StoragedDrive interface on Linux.

Functions

storaged_linux_drive_new ()

StoragedDrive *
storaged_linux_drive_new (void);

Creates a new StoragedLinuxDrive instance.

Returns

A new StoragedLinuxDrive. Free with g_object_unref().


storaged_linux_drive_update ()

gboolean
storaged_linux_drive_update (StoragedLinuxDrive *drive,
                             StoragedLinuxDriveObject *object);

Updates the interface.

Parameters

drive

A StoragedLinuxDrive.

 

object

The enclosing StoragedLinuxDriveObject instance.

 

Returns

TRUE if configuration has changed, FALSE otherwise.

Types and Values

StoragedLinuxDrive

typedef struct _StoragedLinuxDrive StoragedLinuxDrive;

The StoragedLinuxDrive structure contains only private data and should only be accessed using the provided API.