Top |
GVariant * | configuration | Read / Write |
gchar * | crypto-backing-device | Read / Write |
gchar * | device | Read / Write |
guint64 | device-number | Read / Write |
gchar * | drive | Read / Write |
gboolean | hint-auto | Read / Write |
gchar * | hint-icon-name | Read / Write |
gboolean | hint-ignore | Read / Write |
gchar * | hint-name | Read / Write |
gboolean | hint-partitionable | Read / Write |
gchar * | hint-symbolic-icon-name | Read / Write |
gboolean | hint-system | Read / Write |
gchar * | id | Read / Write |
gchar * | id-label | Read / Write |
gchar * | id-type | Read / Write |
gchar * | id-usage | Read / Write |
gchar * | id-uuid | Read / Write |
gchar * | id-version | Read / Write |
gchar * | mdraid | Read / Write |
gchar * | mdraid-member | Read / Write |
gchar * | preferred-device | Read / Write |
gboolean | read-only | Read / Write |
guint64 | size | Read / Write |
GStrv | symlinks | Read / Write |
UDisksBlock | |
struct | UDisksBlockIface |
struct | UDisksBlockProxy |
struct | UDisksBlockProxyClass |
struct | UDisksBlockSkeleton |
struct | UDisksBlockSkeletonClass |
GInterface ╰── UDisksBlock GObject ├── GDBusInterfaceSkeleton │ ╰── UDisksBlockSkeleton │ ╰── UDisksLinuxBlock ╰── GDBusProxy ╰── UDisksBlockProxy
UDisksBlockProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksBlock.
UDisksBlockSkeleton implements GDBusInterface and UDisksBlock.
UDisksBlock is implemented by UDisksBlockProxy, UDisksBlockSkeleton and UDisksLinuxBlock.
This section contains code for working with the org.freedesktop.UDisks2.Block D-Bus interface in C.
GDBusInterfaceInfo *
udisks_block_interface_info (void
);
Gets a machine-readable description of the org.freedesktop.UDisks2.Block D-Bus interface.
guint udisks_block_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the UDisksBlock interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject-derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void udisks_block_call_get_secret_configuration (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetSecretConfiguration()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_get_secret_configuration_finish()
to get the result of the operation.
See udisks_block_call_get_secret_configuration_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_get_secret_configuration_finish (UDisksBlock *proxy
,GVariant **out_configuration
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_get_secret_configuration()
.
proxy |
||
out_configuration |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_get_secret_configuration_sync (UDisksBlock *proxy
,GVariant *arg_options
,GVariant **out_configuration
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetSecretConfiguration()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_get_secret_configuration()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
out_configuration |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_get_secret_configuration (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GVariant *configuration
);
Helper function used in service implementations to finish handling invocations of the GetSecretConfiguration()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_block_call_add_configuration_item (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the AddConfigurationItem()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_add_configuration_item_finish()
to get the result of the operation.
See udisks_block_call_add_configuration_item_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_add_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_add_configuration_item()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_add_configuration_item_sync (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the AddConfigurationItem()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_add_configuration_item()
for the asynchronous version of this method.
proxy |
||
arg_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_add_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the AddConfigurationItem()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_block_call_remove_configuration_item (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the RemoveConfigurationItem()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_remove_configuration_item_finish()
to get the result of the operation.
See udisks_block_call_remove_configuration_item_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_remove_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_remove_configuration_item()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_remove_configuration_item_sync (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the RemoveConfigurationItem()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_remove_configuration_item()
for the asynchronous version of this method.
proxy |
||
arg_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_remove_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the RemoveConfigurationItem()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_block_call_update_configuration_item (UDisksBlock *proxy
,GVariant *arg_old_item
,GVariant *arg_new_item
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the UpdateConfigurationItem()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_update_configuration_item_finish()
to get the result of the operation.
See udisks_block_call_update_configuration_item_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_old_item |
Argument to pass with the method invocation. |
|
arg_new_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_update_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_update_configuration_item()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_update_configuration_item_sync (UDisksBlock *proxy
,GVariant *arg_old_item
,GVariant *arg_new_item
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the UpdateConfigurationItem()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_update_configuration_item()
for the asynchronous version of this method.
proxy |
||
arg_old_item |
Argument to pass with the method invocation. |
|
arg_new_item |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_update_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the UpdateConfigurationItem()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_block_call_format (UDisksBlock *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Format()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_format_finish()
to get the result of the operation.
See udisks_block_call_format_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_type |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_format_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_format()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_format_sync (UDisksBlock *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Format()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_format()
for the asynchronous version of this method.
proxy |
||
arg_type |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_format (UDisksBlock *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Format()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_block_call_open_for_backup (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the OpenForBackup()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_open_for_backup_finish()
to get the result of the operation.
See udisks_block_call_open_for_backup_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_open_for_backup_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_open_for_backup()
.
proxy |
||
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_open_for_backup_sync (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the OpenForBackup()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_open_for_backup()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_open_for_backup (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
);
Helper function used in service implementations to finish handling invocations of the OpenForBackup()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
object |
A UDisksBlock. |
|
invocation |
[transfer full] | |
fd_list |
A GUnixFDList or |
[allow-none] |
fd |
Parameter to return. |
void udisks_block_call_open_for_restore (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the OpenForRestore()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_open_for_restore_finish()
to get the result of the operation.
See udisks_block_call_open_for_restore_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_open_for_restore_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_open_for_restore()
.
proxy |
||
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_open_for_restore_sync (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the OpenForRestore()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_open_for_restore()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_open_for_restore (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
);
Helper function used in service implementations to finish handling invocations of the OpenForRestore()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
object |
A UDisksBlock. |
|
invocation |
[transfer full] | |
fd_list |
A GUnixFDList or |
[allow-none] |
fd |
Parameter to return. |
void udisks_block_call_open_for_benchmark (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the OpenForBenchmark()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_open_for_benchmark_finish()
to get the result of the operation.
See udisks_block_call_open_for_benchmark_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_open_for_benchmark_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_open_for_benchmark()
.
proxy |
||
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_open_for_benchmark_sync (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the OpenForBenchmark()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_open_for_benchmark()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
fd_list |
A GUnixFDList or |
[allow-none] |
out_fd |
Return location for return parameter or |
[out] |
out_fd_list |
Return location for a GUnixFDList or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_open_for_benchmark (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
);
Helper function used in service implementations to finish handling invocations of the OpenForBenchmark()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
object |
A UDisksBlock. |
|
invocation |
[transfer full] | |
fd_list |
A GUnixFDList or |
[allow-none] |
fd |
Parameter to return. |
void udisks_block_call_rescan (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Rescan()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_call_rescan_finish()
to get the result of the operation.
See udisks_block_call_rescan_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_block_call_rescan_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_rescan()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_block_call_rescan_sync (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Rescan()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_block_call_rescan()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
void udisks_block_complete_rescan (UDisksBlock *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Rescan()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
GVariant *
udisks_block_get_configuration (UDisksBlock *object
);
Gets the value of the "Configuration" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_configuration()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_crypto_backing_device
(UDisksBlock *object
);
Gets the value of the "CryptoBackingDevice" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_crypto_backing_device()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_device (UDisksBlock *object
);
Gets the value of the "Device" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_device()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_drive (UDisksBlock *object
);
Gets the value of the "Drive" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_drive()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id_label (UDisksBlock *object
);
Gets the value of the "IdLabel" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id_label()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id_type (UDisksBlock *object
);
Gets the value of the "IdType" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id_type()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id_usage (UDisksBlock *object
);
Gets the value of the "IdUsage" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id_usage()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id_uuid (UDisksBlock *object
);
Gets the value of the "IdUUID" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id_uuid()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id_version (UDisksBlock *object
);
Gets the value of the "IdVersion" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id_version()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
guint64
udisks_block_get_device_number (UDisksBlock *object
);
Gets the value of the "DeviceNumber" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
udisks_block_get_preferred_device (UDisksBlock *object
);
Gets the value of the "PreferredDevice" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_preferred_device()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_id (UDisksBlock *object
);
Gets the value of the "Id" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_id()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since: 2.0.0
guint64
udisks_block_get_size (UDisksBlock *object
);
Gets the value of the "Size" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_block_get_read_only (UDisksBlock *object
);
Gets the value of the "ReadOnly" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *const *
udisks_block_get_symlinks (UDisksBlock *object
);
Gets the value of the "Symlinks" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_symlinks()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
gboolean
udisks_block_get_hint_partitionable (UDisksBlock *object
);
Gets the value of the "HintPartitionable" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_block_get_hint_system (UDisksBlock *object
);
Gets the value of the "HintSystem" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_block_get_hint_ignore (UDisksBlock *object
);
Gets the value of the "HintIgnore" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_block_get_hint_auto (UDisksBlock *object
);
Gets the value of the "HintAuto" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
udisks_block_get_hint_name (UDisksBlock *object
);
Gets the value of the "HintName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_hint_name()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_hint_icon_name (UDisksBlock *object
);
Gets the value of the "HintIconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_hint_icon_name()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
const gchar *
udisks_block_get_hint_symbolic_icon_name
(UDisksBlock *object
);
Gets the value of the "HintSymbolicIconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_hint_symbolic_icon_name()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since: 2.0.0
const gchar *
udisks_block_get_mdraid (UDisksBlock *object
);
Gets the value of the "MDRaid" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_mdraid()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since: 2.0.0
const gchar *
udisks_block_get_mdraid_member (UDisksBlock *object
);
Gets the value of the "MDRaidMember" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use udisks_block_dup_mdraid_member()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since: 2.0.0
GVariant *
udisks_block_dup_configuration (UDisksBlock *object
);
Gets a copy of the "Configuration" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full]
gchar *
udisks_block_dup_crypto_backing_device
(UDisksBlock *object
);
Gets a copy of the "CryptoBackingDevice" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_device (UDisksBlock *object
);
Gets a copy of the "Device" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_drive (UDisksBlock *object
);
Gets a copy of the "Drive" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id_label (UDisksBlock *object
);
Gets a copy of the "IdLabel" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id_type (UDisksBlock *object
);
Gets a copy of the "IdType" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id_usage (UDisksBlock *object
);
Gets a copy of the "IdUsage" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id_uuid (UDisksBlock *object
);
Gets a copy of the "IdUUID" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id_version (UDisksBlock *object
);
Gets a copy of the "IdVersion" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_preferred_device (UDisksBlock *object
);
Gets a copy of the "PreferredDevice" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_id (UDisksBlock *object
);
Gets a copy of the "Id" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since: 2.0.0
gchar **
udisks_block_dup_symlinks (UDisksBlock *object
);
Gets a copy of the "Symlinks" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full]
gchar *
udisks_block_dup_hint_name (UDisksBlock *object
);
Gets a copy of the "HintName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_hint_icon_name (UDisksBlock *object
);
Gets a copy of the "HintIconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gchar *
udisks_block_dup_hint_symbolic_icon_name
(UDisksBlock *object
);
Gets a copy of the "HintSymbolicIconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since: 2.0.0
gchar *
udisks_block_dup_mdraid (UDisksBlock *object
);
Gets a copy of the "MDRaid" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since: 2.0.0
gchar *
udisks_block_dup_mdraid_member (UDisksBlock *object
);
Gets a copy of the "MDRaidMember" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since: 2.0.0
void udisks_block_set_configuration (UDisksBlock *object
,GVariant *value
);
Sets the "Configuration" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_crypto_backing_device (UDisksBlock *object
,const gchar *value
);
Sets the "CryptoBackingDevice" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_device (UDisksBlock *object
,const gchar *value
);
Sets the "Device" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_drive (UDisksBlock *object
,const gchar *value
);
Sets the "Drive" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id_label (UDisksBlock *object
,const gchar *value
);
Sets the "IdLabel" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id_type (UDisksBlock *object
,const gchar *value
);
Sets the "IdType" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id_usage (UDisksBlock *object
,const gchar *value
);
Sets the "IdUsage" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id_uuid (UDisksBlock *object
,const gchar *value
);
Sets the "IdUUID" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id_version (UDisksBlock *object
,const gchar *value
);
Sets the "IdVersion" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_device_number (UDisksBlock *object
,guint64 value
);
Sets the "DeviceNumber" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_preferred_device (UDisksBlock *object
,const gchar *value
);
Sets the "PreferredDevice" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_id (UDisksBlock *object
,const gchar *value
);
Sets the "Id" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_block_set_size (UDisksBlock *object
,guint64 value
);
Sets the "Size" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_read_only (UDisksBlock *object
,gboolean value
);
Sets the "ReadOnly" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_symlinks (UDisksBlock *object
,const gchar *const *value
);
Sets the "Symlinks" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_partitionable (UDisksBlock *object
,gboolean value
);
Sets the "HintPartitionable" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_system (UDisksBlock *object
,gboolean value
);
Sets the "HintSystem" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_ignore (UDisksBlock *object
,gboolean value
);
Sets the "HintIgnore" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_auto (UDisksBlock *object
,gboolean value
);
Sets the "HintAuto" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_name (UDisksBlock *object
,const gchar *value
);
Sets the "HintName" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_icon_name (UDisksBlock *object
,const gchar *value
);
Sets the "HintIconName" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_block_set_hint_symbolic_icon_name (UDisksBlock *object
,const gchar *value
);
Sets the "HintSymbolicIconName" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_block_set_mdraid (UDisksBlock *object
,const gchar *value
);
Sets the "MDRaid" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_block_set_mdraid_member (UDisksBlock *object
,const gchar *value
);
Sets the "MDRaidMember" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_block_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.freedesktop.UDisks2.Block. See g_dbus_proxy_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_proxy_new_finish()
to get the result of the operation.
See udisks_block_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
UDisksBlock * udisks_block_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type UDisksBlockProxy]
UDisksBlock * udisks_block_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.freedesktop.UDisks2.Block. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See udisks_block_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type UDisksBlockProxy]
void udisks_block_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like udisks_block_proxy_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call udisks_block_proxy_new_for_bus_finish()
to get the result of the operation.
See udisks_block_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
UDisksBlock * udisks_block_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type UDisksBlockProxy]
UDisksBlock * udisks_block_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like udisks_block_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See udisks_block_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type UDisksBlockProxy]
UDisksBlock *
udisks_block_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.freedesktop.UDisks2.Block.
typedef struct _UDisksBlock UDisksBlock;
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Block.
struct UDisksBlockIface { GTypeInterface parent_iface; gboolean (*handle_add_configuration_item) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_item, GVariant *arg_options); gboolean (*handle_format) ( UDisksBlock *object, GDBusMethodInvocation *invocation, const gchar *arg_type, GVariant *arg_options); gboolean (*handle_get_secret_configuration) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_open_for_backup) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options); gboolean (*handle_open_for_benchmark) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options); gboolean (*handle_open_for_restore) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options); gboolean (*handle_remove_configuration_item) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_item, GVariant *arg_options); gboolean (*handle_rescan) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_update_configuration_item) ( UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_old_item, GVariant *arg_new_item, GVariant *arg_options); GVariant * (*get_configuration) (UDisksBlock *object); const gchar * (*get_crypto_backing_device) (UDisksBlock *object); const gchar * (*get_device) (UDisksBlock *object); guint64 (*get_device_number) (UDisksBlock *object); const gchar * (*get_drive) (UDisksBlock *object); gboolean (*get_hint_auto) (UDisksBlock *object); const gchar * (*get_hint_icon_name) (UDisksBlock *object); gboolean (*get_hint_ignore) (UDisksBlock *object); const gchar * (*get_hint_name) (UDisksBlock *object); gboolean (*get_hint_partitionable) (UDisksBlock *object); gboolean (*get_hint_system) (UDisksBlock *object); const gchar * (*get_id_label) (UDisksBlock *object); const gchar * (*get_id_type) (UDisksBlock *object); const gchar * (*get_id_usage) (UDisksBlock *object); const gchar * (*get_id_uuid) (UDisksBlock *object); const gchar * (*get_id_version) (UDisksBlock *object); const gchar * (*get_preferred_device) (UDisksBlock *object); gboolean (*get_read_only) (UDisksBlock *object); guint64 (*get_size) (UDisksBlock *object); const gchar *const * (*get_symlinks) (UDisksBlock *object); const gchar * (*get_hint_symbolic_icon_name) (UDisksBlock *object); const gchar * (*get_id) (UDisksBlock *object); const gchar * (*get_mdraid) (UDisksBlock *object); const gchar * (*get_mdraid_member) (UDisksBlock *object); };
Virtual table for the D-Bus interface org.freedesktop.UDisks2.Block.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-add-configuration-item” signal. |
||
Handler for the “handle-format” signal. |
||
Handler for the “handle-get-secret-configuration” signal. |
||
Handler for the “handle-open-for-backup” signal. |
||
Handler for the “handle-open-for-benchmark” signal. |
||
Handler for the “handle-open-for-restore” signal. |
||
Handler for the “handle-remove-configuration-item” signal. |
||
Handler for the “handle-rescan” signal. |
||
Handler for the “handle-update-configuration-item” signal. |
||
Getter for the “configuration” property. |
||
Getter for the “crypto-backing-device” property. |
||
Getter for the “device” property. |
||
Getter for the “device-number” property. |
||
Getter for the “drive” property. |
||
Getter for the “hint-auto” property. |
||
Getter for the “hint-icon-name” property. |
||
Getter for the “hint-ignore” property. |
||
Getter for the “hint-name” property. |
||
Getter for the “hint-partitionable” property. |
||
Getter for the “hint-system” property. |
||
Getter for the “id-label” property. |
||
Getter for the “id-type” property. |
||
Getter for the “id-usage” property. |
||
Getter for the “id-uuid” property. |
||
Getter for the “id-version” property. |
||
Getter for the “preferred-device” property. |
||
Getter for the “read-only” property. |
||
Getter for the “size” property. |
||
Getter for the “symlinks” property. |
||
Getter for the “hint-symbolic-icon-name” property. |
||
Getter for the “id” property. |
||
Getter for the “mdraid” property. |
||
Getter for the “mdraid-member” property. |
struct UDisksBlockProxy;
The UDisksBlockProxy structure contains only private data and should only be accessed using the provided API.
struct UDisksBlockProxyClass { GDBusProxyClass parent_class; };
Class structure for UDisksBlockProxy.
struct UDisksBlockSkeleton;
The UDisksBlockSkeleton structure contains only private data and should only be accessed using the provided API.
struct UDisksBlockSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for UDisksBlockSkeleton.
“configuration”
property“configuration” GVariant *
Represents the D-Bus property "Configuration".
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.
Flags: Read / Write
Allowed values: GVariant<a(sa{sv})>
Default value: NULL
“crypto-backing-device”
property“crypto-backing-device” gchar *
Represents the D-Bus property "CryptoBackingDevice".
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.
Flags: Read / Write
Default value: NULL
“device”
property“device” gchar *
Represents the D-Bus property "Device".
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.
Flags: Read / Write
Default value: NULL
“device-number”
property“device-number” guint64
Represents the D-Bus property "DeviceNumber".
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.
Flags: Read / Write
Default value: 0
“drive”
property“drive” gchar *
Represents the D-Bus property "Drive".
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.
Flags: Read / Write
Default value: NULL
“hint-auto”
property“hint-auto” gboolean
Represents the D-Bus property "HintAuto".
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.
Flags: Read / Write
Default value: FALSE
“hint-icon-name”
property“hint-icon-name” gchar *
Represents the D-Bus property "HintIconName".
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.
Flags: Read / Write
Default value: NULL
“hint-ignore”
property“hint-ignore” gboolean
Represents the D-Bus property "HintIgnore".
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.
Flags: Read / Write
Default value: FALSE
“hint-name”
property“hint-name” gchar *
Represents the D-Bus property "HintName".
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.
Flags: Read / Write
Default value: NULL
“hint-partitionable”
property“hint-partitionable” gboolean
Represents the D-Bus property "HintPartitionable".
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.
Flags: Read / Write
Default value: FALSE
“hint-symbolic-icon-name”
property“hint-symbolic-icon-name” gchar *
Represents the D-Bus property "HintSymbolicIconName".
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.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“hint-system”
property“hint-system” gboolean
Represents the D-Bus property "HintSystem".
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.
Flags: Read / Write
Default value: FALSE
“id”
property“id” gchar *
Represents the D-Bus property "Id".
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.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“id-label”
property“id-label” gchar *
Represents the D-Bus property "IdLabel".
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.
Flags: Read / Write
Default value: NULL
“id-type”
property“id-type” gchar *
Represents the D-Bus property "IdType".
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.
Flags: Read / Write
Default value: NULL
“id-usage”
property“id-usage” gchar *
Represents the D-Bus property "IdUsage".
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.
Flags: Read / Write
Default value: NULL
“id-uuid”
property“id-uuid” gchar *
Represents the D-Bus property "IdUUID".
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.
Flags: Read / Write
Default value: NULL
“id-version”
property“id-version” gchar *
Represents the D-Bus property "IdVersion".
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.
Flags: Read / Write
Default value: NULL
“mdraid”
property“mdraid” gchar *
Represents the D-Bus property "MDRaid".
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.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“mdraid-member”
property“mdraid-member” gchar *
Represents the D-Bus property "MDRaidMember".
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.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“preferred-device”
property“preferred-device” gchar *
Represents the D-Bus property "PreferredDevice".
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.
Flags: Read / Write
Default value: NULL
“read-only”
property“read-only” gboolean
Represents the D-Bus property "ReadOnly".
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.
Flags: Read / Write
Default value: FALSE
“size”
property“size” guint64
Represents the D-Bus property "Size".
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.
Flags: Read / Write
Default value: 0
“symlinks”
property“symlinks” GStrv
Represents the D-Bus property "Symlinks".
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.
Flags: Read / Write
“handle-add-configuration-item”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_item, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the AddConfigurationItem()
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_complete_add_configuration_item()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_item |
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
“handle-format”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, gchar *arg_type, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Format()
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_complete_format()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_type |
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
“handle-get-secret-configuration”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the GetSecretConfiguration()
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_complete_get_secret_configuration()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-open-for-backup”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the OpenForBackup()
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_complete_open_for_backup()
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.
object |
A UDisksBlock. |
|
invocation |
||
fd_list |
A GUnixFDList or |
[allow-none] |
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-open-for-benchmark”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the OpenForBenchmark()
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_complete_open_for_benchmark()
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.
object |
A UDisksBlock. |
|
invocation |
||
fd_list |
A GUnixFDList or |
[allow-none] |
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-open-for-restore”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GUnixFDList *fd_list, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the OpenForRestore()
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_complete_open_for_restore()
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.
object |
A UDisksBlock. |
|
invocation |
||
fd_list |
A GUnixFDList or |
[allow-none] |
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-remove-configuration-item”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_item, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the RemoveConfigurationItem()
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_complete_remove_configuration_item()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_item |
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
“handle-rescan”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Rescan()
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_complete_rescan()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-update-configuration-item”
signalgboolean user_function (UDisksBlock *object, GDBusMethodInvocation *invocation, GVariant *arg_old_item, GVariant *arg_new_item, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the UpdateConfigurationItem()
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_complete_update_configuration_item()
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.
object |
A UDisksBlock. |
|
invocation |
||
arg_old_item |
Argument passed by remote caller. |
|
arg_new_item |
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