StoragedLinuxSwapspace

StoragedLinuxSwapspace — Linux implementation of StoragedSwapspace

Synopsis

                    StoragedLinuxSwapspace;
StoragedSwapspace * storaged_linux_swapspace_new        (void);
void                storaged_linux_swapspace_update     (StoragedLinuxSwapspace *swapspace,
                                                         StoragedLinuxBlockObject *object);

Object Hierarchy

  GObject
   +----GDBusInterfaceSkeleton
         +----StoragedSwapspaceSkeleton
               +----StoragedLinuxSwapspace

Implemented Interfaces

StoragedLinuxSwapspace implements GDBusInterface and StoragedSwapspace.

Description

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

Details

StoragedLinuxSwapspace

typedef struct _StoragedLinuxSwapspace StoragedLinuxSwapspace;

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


storaged_linux_swapspace_new ()

StoragedSwapspace * storaged_linux_swapspace_new        (void);

Creates a new StoragedLinuxSwapspace instance.

Returns :

A new StoragedLinuxSwapspace. Free with g_object_unref().

storaged_linux_swapspace_update ()

void                storaged_linux_swapspace_update     (StoragedLinuxSwapspace *swapspace,
                                                         StoragedLinuxBlockObject *object);

Updates the interface.

swapspace :

A StoragedLinuxSwapspace.

object :

The enclosing StoragedLinuxBlockObject instance.