Top |
This object is used to add/remove Linux specific objects of type UDisksLinuxBlockObject, UDisksLinuxDriveObject and UDisksLinuxMDRaidObject.
UDisksLinuxProvider *
udisks_linux_provider_new (UDisksDaemon *daemon
);
Create a new provider object for Linux-specific objects / functionality.
GUdevClient *
udisks_linux_provider_get_udev_client (UDisksLinuxProvider *provider
);
Gets the GUdevClient used by provider
.
gboolean
udisks_linux_provider_get_coldplug (UDisksLinuxProvider *provider
);
Gets whether provider
is in the coldplug phase.
typedef struct _UDisksLinuxProvider UDisksLinuxProvider;
The UDisksLinuxProvider structure contains only private data and should only be accessed using the provided API.
“uevent-probed”
signalvoid user_function (UDisksLinuxProvider *provider, char *action, UDisksLinuxDevice *device, gpointer user_data)
Emitted after the device
is probed.
This signal is emitted in the thread-default main loop of the thread that provider
was created in.
provider |
||
action |
The action for the uevent e.g. "add", "remove", "change", "move", "online" or "offline". |
|
device |
The UDisksLinuxDevice that was probed. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last