Top |
UDisksManagerVDOUDisksManagerVDO — Generated C code for the org.freedesktop.UDisks2.Manager.VDO D-Bus interface |
gboolean | handle-activate-volume-by-name | Run Last |
gboolean | handle-create-volume | Run Last |
gboolean | handle-start-volume-by-name | Run Last |
UDisksManagerVDO | |
struct | UDisksManagerVDOProxy |
struct | UDisksManagerVDOProxyClass |
struct | UDisksManagerVDOSkeleton |
struct | UDisksManagerVDOSkeletonClass |
GInterface ╰── UDisksManagerVDO GObject ├── GDBusInterfaceSkeleton │ ╰── UDisksManagerVDOSkeleton ╰── GDBusProxy ╰── UDisksManagerVDOProxy
UDisksManagerVDOProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksManagerVDO.
UDisksManagerVDOSkeleton implements GDBusInterface and UDisksManagerVDO.
UDisksManagerVDO is implemented by UDisksManagerVDOProxy and UDisksManagerVDOSkeleton.
This section contains code for working with the org.freedesktop.UDisks2.Manager.VDO D-Bus interface in C.
typedef struct _UDisksManagerVDO UDisksManagerVDO;
UDisksManagerVDO
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Manager.VDO.
Since: 2.8.0
struct UDisksManagerVDOProxy;
UDisksManagerVDOProxy
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
The UDisksManagerVDOProxy structure contains only private data and should only be accessed using the provided API.
Since: 2.8.0
struct UDisksManagerVDOProxyClass { GDBusProxyClass parent_class; };
UDisksManagerVDOProxyClass
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
Class structure for UDisksManagerVDOProxy.
Since: 2.8.0
struct UDisksManagerVDOSkeleton;
UDisksManagerVDOSkeleton
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
The UDisksManagerVDOSkeleton structure contains only private data and should only be accessed using the provided API.
Since: 2.8.0
struct UDisksManagerVDOSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
UDisksManagerVDOSkeletonClass
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
Class structure for UDisksManagerVDOSkeleton.
Since: 2.8.0
“handle-activate-volume-by-name”
signalgboolean user_function (UDisksManagerVDO *object, GDBusMethodInvocation *invocation, gchar *arg_name, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the ActivateVolumeByName()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call udisks_manager_vdo_complete_activate_volume_by_name()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
UDisksManagerVDO::handle-activate-volume-by-name
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_name |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.8.0
“handle-create-volume”
signalgboolean user_function (UDisksManagerVDO *object, GDBusMethodInvocation *invocation, gchar *arg_name, gchar *arg_device, guint64 arg_logical_size, guint64 arg_index_memory, gboolean arg_compression, gboolean arg_deduplication, gchar *arg_write_policy, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateVolume()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call udisks_manager_vdo_complete_create_volume()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
UDisksManagerVDO::handle-create-volume
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_name |
Argument passed by remote caller. |
|
arg_device |
Argument passed by remote caller. |
|
arg_logical_size |
Argument passed by remote caller. |
|
arg_index_memory |
Argument passed by remote caller. |
|
arg_compression |
Argument passed by remote caller. |
|
arg_deduplication |
Argument passed by remote caller. |
|
arg_write_policy |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.8.0
“handle-start-volume-by-name”
signalgboolean user_function (UDisksManagerVDO *object, GDBusMethodInvocation *invocation, gchar *arg_name, gboolean arg_force_rebuild, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the StartVolumeByName()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call udisks_manager_vdo_complete_start_volume_by_name()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
UDisksManagerVDO::handle-start-volume-by-name
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_name |
Argument passed by remote caller. |
|
arg_force_rebuild |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.8.0