Top |
UDisksBlockVDOUDisksBlockVDO — Generated C code for the org.freedesktop.UDisks2.Block.VDO D-Bus interface |
gboolean | active | Read / Write |
gboolean | compression | Read / Write |
gboolean | deduplication | Read / Write |
guint64 | index-memory | Read / Write |
guint64 | logical-size | Read / Write |
char * | name | Read / Write |
guint64 | physical-size | Read / Write |
char * | write-policy | Read / Write |
UDisksBlockVDO | |
struct | UDisksBlockVDOProxy |
struct | UDisksBlockVDOProxyClass |
struct | UDisksBlockVDOSkeleton |
struct | UDisksBlockVDOSkeletonClass |
GInterface ╰── UDisksBlockVDO GObject ├── GDBusInterfaceSkeleton │ ╰── UDisksBlockVDOSkeleton ╰── GDBusProxy ╰── UDisksBlockVDOProxy
UDisksBlockVDOProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksBlockVDO.
UDisksBlockVDOSkeleton implements GDBusInterface and UDisksBlockVDO.
UDisksBlockVDO is implemented by UDisksBlockVDOProxy and UDisksBlockVDOSkeleton.
This section contains code for working with the org.freedesktop.UDisks2.Block.VDO D-Bus interface in C.
typedef struct _UDisksBlockVDO UDisksBlockVDO;
UDisksBlockVDO
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.Block.VDO.
Since: 2.8.0
struct UDisksBlockVDOProxy;
UDisksBlockVDOProxy
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
The UDisksBlockVDOProxy structure contains only private data and should only be accessed using the provided API.
Since: 2.8.0
struct UDisksBlockVDOProxyClass { GDBusProxyClass parent_class; };
UDisksBlockVDOProxyClass
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
Class structure for UDisksBlockVDOProxy.
Since: 2.8.0
struct UDisksBlockVDOSkeleton;
UDisksBlockVDOSkeleton
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
The UDisksBlockVDOSkeleton structure contains only private data and should only be accessed using the provided API.
Since: 2.8.0
struct UDisksBlockVDOSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
UDisksBlockVDOSkeletonClass
is deprecated and should not be used in newly-written code.
The D-Bus interface has been deprecated.
Class structure for UDisksBlockVDOSkeleton.
Since: 2.8.0
“active”
property“active” gboolean
Represents the D-Bus property "Active".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:active
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: FALSE
Since: 2.8.0
“compression”
property“compression” gboolean
Represents the D-Bus property "Compression".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:compression
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: FALSE
Since: 2.8.0
“deduplication”
property“deduplication” gboolean
Represents the D-Bus property "Deduplication".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:deduplication
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: FALSE
Since: 2.8.0
“index-memory”
property“index-memory” guint64
Represents the D-Bus property "IndexMemory".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:index-memory
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: 0
Since: 2.8.0
“logical-size”
property“logical-size” guint64
Represents the D-Bus property "LogicalSize".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:logical-size
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: 0
Since: 2.8.0
“name”
property “name” char *
Represents the D-Bus property "Name".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:name
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: NULL
Since: 2.8.0
“physical-size”
property“physical-size” guint64
Represents the D-Bus property "PhysicalSize".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:physical-size
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: 0
Since: 2.8.0
“write-policy”
property “write-policy” char *
Represents the D-Bus property "WritePolicy".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
UDisksBlockVDO:write-policy
is deprecated and should not be used in newly-written code.
The D-Bus property has been deprecated.
Owner: UDisksBlockVDO
Flags: Read / Write
Default value: NULL
Since: 2.8.0
“handle-change-write-policy”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, char *arg_write_policy, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the ChangeWritePolicy()
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_block_vdo_complete_change_write_policy()
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.
UDisksBlockVDO::handle-change-write-policy
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-deactivate”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Deactivate()
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_block_vdo_complete_deactivate()
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.
UDisksBlockVDO::handle-deactivate
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-enable-compression”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, gboolean arg_enable, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the EnableCompression()
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_block_vdo_complete_enable_compression()
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.
UDisksBlockVDO::handle-enable-compression
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_enable |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-enable-deduplication”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, gboolean arg_enable, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the EnableDeduplication()
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_block_vdo_complete_enable_deduplication()
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.
UDisksBlockVDO::handle-enable-deduplication
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_enable |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-get-statistics”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the GetStatistics()
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_block_vdo_complete_get_statistics()
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.
UDisksBlockVDO::handle-get-statistics
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-grow-logical”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, guint64 arg_size, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the GrowLogical()
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_block_vdo_complete_grow_logical()
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.
UDisksBlockVDO::handle-grow-logical
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_size |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-grow-physical”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the GrowPhysical()
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_block_vdo_complete_grow_physical()
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.
UDisksBlockVDO::handle-grow-physical
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-remove”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, gboolean arg_force, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Remove()
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_block_vdo_complete_remove()
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.
UDisksBlockVDO::handle-remove
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_force |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0
“handle-stop”
signalgboolean user_function (UDisksBlockVDO *object, GDBusMethodInvocation *invocation, gboolean arg_force, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Stop()
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_block_vdo_complete_stop()
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.
UDisksBlockVDO::handle-stop
is deprecated and should not be used in newly-written code.
The D-Bus method has been deprecated.
object |
||
invocation |
||
arg_force |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.8.0