StoragedLinuxBlock

StoragedLinuxBlock — Linux implementation of StoragedBlock

Synopsis

                    StoragedLinuxBlock;
StoragedBlock *     storaged_linux_block_new            (void);
void                storaged_linux_block_update         (StoragedLinuxBlock *block,
                                                         StoragedLinuxBlockObject *object);

Object Hierarchy

  GObject
   +----GDBusInterfaceSkeleton
         +----StoragedBlockSkeleton
               +----StoragedLinuxBlock

Implemented Interfaces

StoragedLinuxBlock implements GDBusInterface and StoragedBlock.

Description

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

Details

StoragedLinuxBlock

typedef struct _StoragedLinuxBlock StoragedLinuxBlock;

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


storaged_linux_block_new ()

StoragedBlock *     storaged_linux_block_new            (void);

Creates a new StoragedLinuxBlock instance.

Returns :

A new StoragedLinuxBlock. Free with g_object_unref().

storaged_linux_block_update ()

void                storaged_linux_block_update         (StoragedLinuxBlock *block,
                                                         StoragedLinuxBlockObject *object);

Updates the interface.

block :

A StoragedLinuxBlock.

object :

The enclosing StoragedLinuxBlockObject instance.