![]() |
![]() |
![]() |
UDisks Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Prerequisites | Known Implementations | Properties | Signals |
UDisksBlock; struct UDisksBlockIface; GDBusInterfaceInfo * udisks_block_interface_info (void
); guint udisks_block_override_properties (GObjectClass *klass
,guint property_id_begin
); void udisks_block_call_get_secret_configuration (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_get_secret_configuration_finish (UDisksBlock *proxy
,GVariant **out_configuration
,GAsyncResult *res
,GError **error
); gboolean udisks_block_call_get_secret_configuration_sync (UDisksBlock *proxy
,GVariant *arg_options
,GVariant **out_configuration
,GCancellable *cancellable
,GError **error
); void udisks_block_complete_get_secret_configuration (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GVariant *configuration
); void udisks_block_call_add_configuration_item (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_add_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
); gboolean udisks_block_call_add_configuration_item_sync (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
); void udisks_block_complete_add_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
); void udisks_block_call_remove_configuration_item (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_remove_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
); gboolean udisks_block_call_remove_configuration_item_sync (UDisksBlock *proxy
,GVariant *arg_item
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
); void udisks_block_complete_remove_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
); 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
); gboolean udisks_block_call_update_configuration_item_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
); 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
); void udisks_block_complete_update_configuration_item (UDisksBlock *object
,GDBusMethodInvocation *invocation
); void udisks_block_call_format (UDisksBlock *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_format_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
); gboolean udisks_block_call_format_sync (UDisksBlock *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
); void udisks_block_complete_format (UDisksBlock *object
,GDBusMethodInvocation *invocation
); void udisks_block_call_open_for_backup (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_open_for_backup_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
); 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
); void udisks_block_complete_open_for_backup (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
); void udisks_block_call_open_for_restore (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_open_for_restore_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
); 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
); void udisks_block_complete_open_for_restore (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
); void udisks_block_call_open_for_benchmark (UDisksBlock *proxy
,GVariant *arg_options
,GUnixFDList *fd_list
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_open_for_benchmark_finish (UDisksBlock *proxy
,GVariant **out_fd
,GUnixFDList **out_fd_list
,GAsyncResult *res
,GError **error
); 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
); void udisks_block_complete_open_for_benchmark (UDisksBlock *object
,GDBusMethodInvocation *invocation
,GUnixFDList *fd_list
,GVariant *fd
); void udisks_block_call_rescan (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean udisks_block_call_rescan_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
); gboolean udisks_block_call_rescan_sync (UDisksBlock *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
); void udisks_block_complete_rescan (UDisksBlock *object
,GDBusMethodInvocation *invocation
); GVariant * udisks_block_get_configuration (UDisksBlock *object
); const gchar * udisks_block_get_crypto_backing_device (UDisksBlock *object
); const gchar * udisks_block_get_device (UDisksBlock *object
); const gchar * udisks_block_get_drive (UDisksBlock *object
); const gchar * udisks_block_get_id_label (UDisksBlock *object
); const gchar * udisks_block_get_id_type (UDisksBlock *object
); const gchar * udisks_block_get_id_usage (UDisksBlock *object
); const gchar * udisks_block_get_id_uuid (UDisksBlock *object
); const gchar * udisks_block_get_id_version (UDisksBlock *object
); guint64 udisks_block_get_device_number (UDisksBlock *object
); const gchar * udisks_block_get_preferred_device (UDisksBlock *object
); const gchar * udisks_block_get_id (UDisksBlock *object
); guint64 udisks_block_get_size (UDisksBlock *object
); gboolean udisks_block_get_read_only (UDisksBlock *object
); const gchar *const * udisks_block_get_symlinks (UDisksBlock *object
); gboolean udisks_block_get_hint_partitionable (UDisksBlock *object
); gboolean udisks_block_get_hint_system (UDisksBlock *object
); gboolean udisks_block_get_hint_ignore (UDisksBlock *object
); gboolean udisks_block_get_hint_auto (UDisksBlock *object
); const gchar * udisks_block_get_hint_name (UDisksBlock *object
); const gchar * udisks_block_get_hint_icon_name (UDisksBlock *object
); const gchar * udisks_block_get_hint_symbolic_icon_name (UDisksBlock *object
); const gchar * udisks_block_get_mdraid (UDisksBlock *object
); const gchar * udisks_block_get_mdraid_member (UDisksBlock *object
); GVariant * udisks_block_dup_configuration (UDisksBlock *object
); gchar * udisks_block_dup_crypto_backing_device (UDisksBlock *object
); gchar * udisks_block_dup_device (UDisksBlock *object
); gchar * udisks_block_dup_drive (UDisksBlock *object
); gchar * udisks_block_dup_id_label (UDisksBlock *object
); gchar * udisks_block_dup_id_type (UDisksBlock *object
); gchar * udisks_block_dup_id_usage (UDisksBlock *object
); gchar * udisks_block_dup_id_uuid (UDisksBlock *object
); gchar * udisks_block_dup_id_version (UDisksBlock *object
); gchar * udisks_block_dup_preferred_device (UDisksBlock *object
); gchar * udisks_block_dup_id (UDisksBlock *object
); gchar ** udisks_block_dup_symlinks (UDisksBlock *object
); gchar * udisks_block_dup_hint_name (UDisksBlock *object
); gchar * udisks_block_dup_hint_icon_name (UDisksBlock *object
); gchar * udisks_block_dup_hint_symbolic_icon_name (UDisksBlock *object
); gchar * udisks_block_dup_mdraid (UDisksBlock *object
); gchar * udisks_block_dup_mdraid_member (UDisksBlock *object
); void udisks_block_set_configuration (UDisksBlock *object
,GVariant *value
); void udisks_block_set_crypto_backing_device (UDisksBlock *object
,const gchar *value
); void udisks_block_set_device (UDisksBlock *object
,const gchar *value
); void udisks_block_set_drive (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id_label (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id_type (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id_usage (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id_uuid (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id_version (UDisksBlock *object
,const gchar *value
); void udisks_block_set_device_number (UDisksBlock *object
,guint64 value
); void udisks_block_set_preferred_device (UDisksBlock *object
,const gchar *value
); void udisks_block_set_id (UDisksBlock *object
,const gchar *value
); void udisks_block_set_size (UDisksBlock *object
,guint64 value
); void udisks_block_set_read_only (UDisksBlock *object
,gboolean value
); void udisks_block_set_symlinks (UDisksBlock *object
,const gchar *const *value
); void udisks_block_set_hint_partitionable (UDisksBlock *object
,gboolean value
); void udisks_block_set_hint_system (UDisksBlock *object
,gboolean value
); void udisks_block_set_hint_ignore (UDisksBlock *object
,gboolean value
); void udisks_block_set_hint_auto (UDisksBlock *object
,gboolean value
); void udisks_block_set_hint_name (UDisksBlock *object
,const gchar *value
); void udisks_block_set_hint_icon_name (UDisksBlock *object
,const gchar *value
); void udisks_block_set_hint_symbolic_icon_name (UDisksBlock *object
,const gchar *value
); void udisks_block_set_mdraid (UDisksBlock *object
,const gchar *value
); void udisks_block_set_mdraid_member (UDisksBlock *object
,const gchar *value
); struct UDisksBlockProxy; struct UDisksBlockProxyClass; void udisks_block_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); UDisksBlock * udisks_block_proxy_new_finish (GAsyncResult *res
,GError **error
); UDisksBlock * udisks_block_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
); 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
); UDisksBlock * udisks_block_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
); UDisksBlock * udisks_block_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
); struct UDisksBlockSkeleton; struct UDisksBlockSkeletonClass; UDisksBlock * udisks_block_skeleton_new (void
);
GInterface +----UDisksBlock
GObject +----GDBusProxy +----UDisksBlockProxy
GObject +----GDBusInterfaceSkeleton +----UDisksBlockSkeleton +----UDisksLinuxBlock
UDisksBlockProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksBlock.
UDisksBlockSkeleton implements GDBusInterface and UDisksBlock.
UDisksBlock is implemented by UDisksBlockProxy, UDisksBlockSkeleton and UDisksLinuxBlock.
"configuration" GVariant* : Read / Write "crypto-backing-device" gchar* : Read / Write "device" gchar* : Read / Write "device-number" guint64 : Read / Write "drive" gchar* : Read / Write "hint-auto" gboolean : Read / Write "hint-icon-name" gchar* : Read / Write "hint-ignore" gboolean : Read / Write "hint-name" gchar* : Read / Write "hint-partitionable" gboolean : Read / Write "hint-symbolic-icon-name" gchar* : Read / Write "hint-system" gboolean : Read / Write "id" gchar* : Read / Write "id-label" gchar* : Read / Write "id-type" gchar* : Read / Write "id-usage" gchar* : Read / Write "id-uuid" gchar* : Read / Write "id-version" gchar* : Read / Write "mdraid" gchar* : Read / Write "mdraid-member" gchar* : Read / Write "preferred-device" gchar* : Read / Write "read-only" gboolean : Read / Write "size" guint64 : Read / Write "symlinks" GStrv : Read / Write
"handle-add-configuration-item" :Run Last
"handle-format" :Run Last
"handle-get-secret-configuration" :Run Last
"handle-open-for-backup" :Run Last
"handle-open-for-benchmark" :Run Last
"handle-open-for-restore" :Run Last
"handle-remove-configuration-item" :Run Last
"handle-rescan" :Run Last
"handle-update-configuration-item" :Run Last
This section contains code for working with the org.freedesktop.UDisks2.Block D-Bus interface in C.
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.
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. |
GDBusInterfaceInfo * udisks_block_interface_info (void
);
Gets a machine-readable description of the org.freedesktop.UDisks2.Block D-Bus interface.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
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.
|
The class structure for a GObject-derived class. |
|
The property id to assign to the first overridden property. |
Returns : |
The last property id. |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_get_secret_configuration() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_add_configuration_item() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_remove_configuration_item() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_update_configuration_item() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean udisks_block_call_format_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_format()
.
|
A UDisksBlockProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_format() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_open_for_backup() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
|
A GUnixFDList or NULL . [allow-none]
|
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_open_for_restore() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
|
A GUnixFDList or NULL . [allow-none]
|
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A UDisksBlockProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_open_for_benchmark() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Return location for return parameter or NULL to ignore. [out]
|
|
Return location for a GUnixFDList or NULL . [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
|
A GUnixFDList or NULL . [allow-none]
|
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean udisks_block_call_rescan_finish (UDisksBlock *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_call_rescan()
.
|
A UDisksBlockProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_call_rescan() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlockProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.1
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
The property value. |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
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.1
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.
|
A UDisksBlock. |
Returns : |
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.1
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.
|
A UDisksBlock. |
Returns : |
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.1
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
Since 2.1
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.
|
A UDisksBlock. |
Returns : |
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
Since 2.1
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
Since 2.1
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.
|
A UDisksBlock. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
Since 2.1
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
Since 2.1
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
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.
|
A UDisksBlock. |
|
The value to set. |
Since 2.1
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.
|
A UDisksBlock. |
|
The value to set. |
Since 2.1
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.
|
A UDisksBlock. |
|
The value to set. |
Since 2.1
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.
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.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
UDisksBlock * udisks_block_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_proxy_new()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_proxy_new() . |
|
Return location for error or NULL
|
Returns : |
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.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
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.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
UDisksBlock * udisks_block_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_block_proxy_new_for_bus()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_block_proxy_new_for_bus() . |
|
Return location for error or NULL
|
Returns : |
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.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type 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.
UDisksBlock * udisks_block_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.freedesktop.UDisks2.Block.
Returns : |
The skeleton object. [transfer full][type UDisksBlockSkeleton] |
"configuration"
property "configuration" GVariant* : Read / Write
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.
Allowed values: GVariant<a(sa{sv})>
Default value: NULL
"crypto-backing-device"
property "crypto-backing-device" gchar* : Read / Write
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.
Default value: NULL
"device"
property "device" gchar* : Read / Write
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.
Default value: NULL
"device-number"
property "device-number" guint64 : Read / Write
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.
Default value: 0
"drive"
property "drive" gchar* : Read / Write
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.
Default value: NULL
"hint-auto"
property "hint-auto" gboolean : Read / Write
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.
Default value: FALSE
"hint-icon-name"
property "hint-icon-name" gchar* : Read / Write
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.
Default value: NULL
"hint-ignore"
property "hint-ignore" gboolean : Read / Write
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.
Default value: FALSE
"hint-name"
property "hint-name" gchar* : Read / Write
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.
Default value: NULL
"hint-partitionable"
property "hint-partitionable" gboolean : Read / Write
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.
Default value: FALSE
"hint-symbolic-icon-name"
property "hint-symbolic-icon-name" gchar* : Read / Write
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.
Default value: NULL
Since 2.1
"hint-system"
property "hint-system" gboolean : Read / Write
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.
Default value: FALSE
"id"
property "id" gchar* : Read / Write
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.
Default value: NULL
Since 2.1
"id-label"
property "id-label" gchar* : Read / Write
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.
Default value: NULL
"id-type"
property "id-type" gchar* : Read / Write
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.
Default value: NULL
"id-usage"
property "id-usage" gchar* : Read / Write
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.
Default value: NULL
"id-uuid"
property "id-uuid" gchar* : Read / Write
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.
Default value: NULL
"id-version"
property "id-version" gchar* : Read / Write
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.
Default value: NULL
"mdraid"
property "mdraid" gchar* : Read / Write
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.
Default value: NULL
Since 2.1
"mdraid-member"
property "mdraid-member" gchar* : Read / Write
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.
Default value: NULL
Since 2.1
"preferred-device"
property "preferred-device" gchar* : Read / Write
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.
Default value: NULL
"read-only"
property "read-only" gboolean : Read / Write
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.
Default value: FALSE
"size"
property "size" guint64 : Read / Write
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.
Default value: 0
"symlinks"
property "symlinks" GStrv : Read / Write
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.
"handle-add-configuration-item"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GVariant *arg_item,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-format"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
gchar *arg_type,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-get-secret-configuration"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-open-for-backup"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GUnixFDList *fd_list,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-open-for-benchmark"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GUnixFDList *fd_list,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-open-for-restore"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GUnixFDList *fd_list,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
A GUnixFDList or NULL . [allow-none]
|
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-remove-configuration-item"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GVariant *arg_item,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-rescan"
signalgboolean user_function (UDisksBlock *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options,
gpointer user_data) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"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) : Run Last
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.
|
A UDisksBlock. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |