StoragedLinuxDrive

StoragedLinuxDrive — Linux implementation of StoragedDrive

Synopsis

                    StoragedLinuxDrive;
StoragedDrive *     storaged_linux_drive_new            (void);
gboolean            storaged_linux_drive_update         (StoragedLinuxDrive *drive,
                                                         StoragedLinuxDriveObject *object);

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.

Details

StoragedLinuxDrive

typedef struct _StoragedLinuxDrive StoragedLinuxDrive;

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


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.

drive :

A StoragedLinuxDrive.

object :

The enclosing StoragedLinuxDriveObject instance.

Returns :

TRUE if configuration has changed, FALSE otherwise.