| Storaged Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
StoragedLinuxProvider; StoragedLinuxProvider * storaged_linux_provider_new (StoragedDaemon *daemon); GUdevClient * storaged_linux_provider_get_udev_client (StoragedLinuxProvider *provider); gboolean storaged_linux_provider_get_coldplug (StoragedLinuxProvider *provider);
This object is used to add/remove Linux specific objects of type StoragedLinuxBlockObject, StoragedLinuxDriveObject and StoragedLinuxMDRaidObject.
typedef struct _StoragedLinuxProvider StoragedLinuxProvider;
The StoragedLinuxProvider structure contains only private data and should only be accessed using the provided API.
StoragedLinuxProvider * storaged_linux_provider_new (StoragedDaemon *daemon);
Create a new provider object for Linux-specific objects / functionality.
|
A StoragedDaemon. |
Returns : |
A StoragedLinuxProvider object. Free with g_object_unref(). |
GUdevClient * storaged_linux_provider_get_udev_client
(StoragedLinuxProvider *provider);
Gets the GUdevClient used by provider.
|
A StoragedLinuxProvider. |
Returns : |
A GUdevClient owned by provider. Do not free. |
gboolean storaged_linux_provider_get_coldplug
(StoragedLinuxProvider *provider);
Gets whether provider is in the coldplug phase.
|
A StoragedLinuxProvider. |
Returns : |
TRUE if in the coldplug phase, FALSE otherwise. |