| Top |
UDisksFilesystemBTRFSUDisksFilesystemBTRFS — Generated C code for the org.freedesktop.UDisks2.Filesystem.BTRFS D-Bus interface |
GInterface ╰── UDisksFilesystemBTRFS GObject ├── GDBusInterfaceSkeleton │ ╰── UDisksFilesystemBTRFSSkeleton ╰── GDBusProxy ╰── UDisksFilesystemBTRFSProxy
UDisksFilesystemBTRFSProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksFilesystemBTRFS.
UDisksFilesystemBTRFSSkeleton implements GDBusInterface and UDisksFilesystemBTRFS.
UDisksFilesystemBTRFS is implemented by UDisksFilesystemBTRFSProxy and UDisksFilesystemBTRFSSkeleton.
This section contains code for working with the org.freedesktop.UDisks2.Filesystem.BTRFS D-Bus interface in C.
void udisks_filesystem_btrfs_call_add_device (UDisksFilesystemBTRFS *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the AddDevice() 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_filesystem_btrfs_call_add_device_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_add_device_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_device |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_add_device_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_add_device().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_add_device_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the AddDevice() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_add_device() for the asynchronous version of this method.
proxy |
||
arg_device |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.3.0
void udisks_filesystem_btrfs_call_create_snapshot (UDisksFilesystemBTRFS *proxy,const gchar *arg_source,const gchar *arg_dest,gboolean arg_ro,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the CreateSnapshot() 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_filesystem_btrfs_call_create_snapshot_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_create_snapshot_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_source |
Argument to pass with the method invocation. |
|
arg_dest |
Argument to pass with the method invocation. |
|
arg_ro |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_create_snapshot_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_create_snapshot().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_create_snapshot_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_source,const gchar *arg_dest,gboolean arg_ro,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the CreateSnapshot() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_create_snapshot() for the asynchronous version of this method.
proxy |
||
arg_source |
Argument to pass with the method invocation. |
|
arg_dest |
Argument to pass with the method invocation. |
|
arg_ro |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.1.3
void udisks_filesystem_btrfs_call_create_subvolume (UDisksFilesystemBTRFS *proxy,const gchar *arg_name,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the CreateSubvolume() 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_filesystem_btrfs_call_create_subvolume_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_create_subvolume_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_name |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_create_subvolume_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_create_subvolume().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_create_subvolume_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_name,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the CreateSubvolume() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_create_subvolume() for the asynchronous version of this method.
proxy |
||
arg_name |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.1.3
void udisks_filesystem_btrfs_call_get_subvolumes (UDisksFilesystemBTRFS *proxy,gboolean arg_snapshots_only,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the GetSubvolumes() 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_filesystem_btrfs_call_get_subvolumes_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_get_subvolumes_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_snapshots_only |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_get_subvolumes_finish (UDisksFilesystemBTRFS *proxy,GVariant **out_subvolumes,gint *out_subvolumes_cnt,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_get_subvolumes().
proxy |
||
out_subvolumes |
Return location for return parameter or |
[out] |
out_subvolumes_cnt |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_get_subvolumes_sync (UDisksFilesystemBTRFS *proxy,gboolean arg_snapshots_only,GVariant *arg_options,GVariant **out_subvolumes,gint *out_subvolumes_cnt,GCancellable *cancellable,GError **error);
Synchronously invokes the GetSubvolumes() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_get_subvolumes() for the asynchronous version of this method.
proxy |
||
arg_snapshots_only |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
out_subvolumes |
Return location for return parameter or |
[out] |
out_subvolumes_cnt |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.1.3
void udisks_filesystem_btrfs_call_remove_device (UDisksFilesystemBTRFS *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the RemoveDevice() 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_filesystem_btrfs_call_remove_device_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_remove_device_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_device |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_remove_device_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_remove_device().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_remove_device_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the RemoveDevice() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_remove_device() for the asynchronous version of this method.
proxy |
||
arg_device |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.3.0
void udisks_filesystem_btrfs_call_remove_subvolume (UDisksFilesystemBTRFS *proxy,const gchar *arg_name,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the RemoveSubvolume() 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_filesystem_btrfs_call_remove_subvolume_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_remove_subvolume_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_name |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_remove_subvolume_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_remove_subvolume().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_remove_subvolume_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_name,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the RemoveSubvolume() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_remove_subvolume() for the asynchronous version of this method.
proxy |
||
arg_name |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.1.3
void udisks_filesystem_btrfs_call_repair (UDisksFilesystemBTRFS *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Repair() 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_filesystem_btrfs_call_repair_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_repair_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_repair_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_repair().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_repair_sync (UDisksFilesystemBTRFS *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the Repair() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_repair() for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.3.0
void udisks_filesystem_btrfs_call_resize (UDisksFilesystemBTRFS *proxy,guint64 arg_size,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Resize() 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_filesystem_btrfs_call_resize_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_resize_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_size |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_resize_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_resize().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.3.0
gboolean udisks_filesystem_btrfs_call_resize_sync (UDisksFilesystemBTRFS *proxy,guint64 arg_size,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the Resize() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_resize() for the asynchronous version of this method.
proxy |
||
arg_size |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.3.0
void udisks_filesystem_btrfs_call_set_label (UDisksFilesystemBTRFS *proxy,const gchar *arg_label,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the SetLabel() 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_filesystem_btrfs_call_set_label_finish() to get the result of the operation.
See udisks_filesystem_btrfs_call_set_label_sync() for the synchronous, blocking version of this method.
proxy |
||
arg_label |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_set_label_finish (UDisksFilesystemBTRFS *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_call_set_label().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.1.3
gboolean udisks_filesystem_btrfs_call_set_label_sync (UDisksFilesystemBTRFS *proxy,const gchar *arg_label,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the SetLabel() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_call_set_label() for the asynchronous version of this method.
proxy |
||
arg_label |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
Since: 2.1.3
void udisks_filesystem_btrfs_complete_add_device (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the AddDevice() 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.
Since: 2.3.0
void udisks_filesystem_btrfs_complete_create_snapshot (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the CreateSnapshot() 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.
Since: 2.1.3
void udisks_filesystem_btrfs_complete_create_subvolume (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the CreateSubvolume() 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.
Since: 2.1.3
void udisks_filesystem_btrfs_complete_get_subvolumes (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation,GVariant *subvolumes,gint subvolumes_cnt);
Helper function used in service implementations to finish handling invocations of the GetSubvolumes() 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 |
||
invocation |
[transfer full] | |
subvolumes |
Parameter to return. |
|
subvolumes_cnt |
Parameter to return. |
Since: 2.1.3
void udisks_filesystem_btrfs_complete_remove_device (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the RemoveDevice() 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.
Since: 2.3.0
void udisks_filesystem_btrfs_complete_remove_subvolume (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the RemoveSubvolume() 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.
Since: 2.1.3
void udisks_filesystem_btrfs_complete_repair (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Repair() 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.
Since: 2.3.0
void udisks_filesystem_btrfs_complete_resize (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the Resize() 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.
Since: 2.3.0
void udisks_filesystem_btrfs_complete_set_label (UDisksFilesystemBTRFS *object,GDBusMethodInvocation *invocation);
Helper function used in service implementations to finish handling invocations of the SetLabel() 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.
Since: 2.1.3
gchar *
udisks_filesystem_btrfs_dup_label (UDisksFilesystemBTRFS *object);
Gets a copy of the "label" 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.1.3
gchar *
udisks_filesystem_btrfs_dup_uuid (UDisksFilesystemBTRFS *object);
Gets a copy of the "uuid" 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.1.3
const gchar *
udisks_filesystem_btrfs_get_label (UDisksFilesystemBTRFS *object);
Gets the value of the "label" 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_filesystem_btrfs_dup_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]
Since: 2.1.3
guint64
udisks_filesystem_btrfs_get_num_devices
(UDisksFilesystemBTRFS *object);
Gets the value of the "num_devices" 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]
Since: 2.1.3
guint64
udisks_filesystem_btrfs_get_used (UDisksFilesystemBTRFS *object);
Gets the value of the "used" 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]
Since: 2.1.3
const gchar *
udisks_filesystem_btrfs_get_uuid (UDisksFilesystemBTRFS *object);
Gets the value of the "uuid" 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_filesystem_btrfs_dup_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]
Since: 2.1.3
GDBusInterfaceInfo *
udisks_filesystem_btrfs_interface_info
(void);
Gets a machine-readable description of the org.freedesktop.UDisks2.Filesystem.BTRFS D-Bus interface.
Since: 2.1.3
guint udisks_filesystem_btrfs_override_properties (GObjectClass *klass,guint property_id_begin);
Overrides all GObject properties in the UDisksFilesystemBTRFS 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. |
Since: 2.1.3
void udisks_filesystem_btrfs_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.Filesystem.BTRFS. 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_filesystem_btrfs_proxy_new_finish() to get the result of the operation.
See udisks_filesystem_btrfs_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 |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since: 2.1.3
UDisksFilesystemBTRFS * udisks_filesystem_btrfs_proxy_new_finish (GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_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 UDisksFilesystemBTRFSProxy]
Since: 2.1.3
void udisks_filesystem_btrfs_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_filesystem_btrfs_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_filesystem_btrfs_proxy_new_for_bus_finish() to get the result of the operation.
See udisks_filesystem_btrfs_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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since: 2.1.3
UDisksFilesystemBTRFS * udisks_filesystem_btrfs_proxy_new_for_bus_finish (GAsyncResult *res,GError **error);
Finishes an operation started with udisks_filesystem_btrfs_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 UDisksFilesystemBTRFSProxy]
Since: 2.1.3
UDisksFilesystemBTRFS * udisks_filesystem_btrfs_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Like udisks_filesystem_btrfs_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_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 |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type UDisksFilesystemBTRFSProxy]
Since: 2.1.3
UDisksFilesystemBTRFS * udisks_filesystem_btrfs_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.Filesystem.BTRFS. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See udisks_filesystem_btrfs_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 |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL if error
is set.
[transfer full][type UDisksFilesystemBTRFSProxy]
Since: 2.1.3
void udisks_filesystem_btrfs_set_label (UDisksFilesystemBTRFS *object,const gchar *value);
Sets the "label" 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.1.3
void udisks_filesystem_btrfs_set_num_devices (UDisksFilesystemBTRFS *object,guint64 value);
Sets the "num_devices" 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.1.3
void udisks_filesystem_btrfs_set_used (UDisksFilesystemBTRFS *object,guint64 value);
Sets the "used" 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.1.3
void udisks_filesystem_btrfs_set_uuid (UDisksFilesystemBTRFS *object,const gchar *value);
Sets the "uuid" 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.1.3
UDisksFilesystemBTRFS *
udisks_filesystem_btrfs_skeleton_new (void);
Creates a skeleton object for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS.
Since: 2.1.3
typedef struct _UDisksFilesystemBTRFS UDisksFilesystemBTRFS;
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS.
Since: 2.1.3
struct UDisksFilesystemBTRFSIface {
GTypeInterface parent_iface;
gboolean (*handle_create_snapshot) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_source,
const gchar *arg_dest,
gboolean arg_ro,
GVariant *arg_options);
gboolean (*handle_create_subvolume) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_name,
GVariant *arg_options);
gboolean (*handle_get_subvolumes) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
gboolean arg_snapshots_only,
GVariant *arg_options);
gboolean (*handle_remove_subvolume) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_name,
GVariant *arg_options);
gboolean (*handle_set_label) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_label,
GVariant *arg_options);
const gchar * (*get_label) (UDisksFilesystemBTRFS *object);
guint64 (*get_num_devices) (UDisksFilesystemBTRFS *object);
guint64 (*get_used) (UDisksFilesystemBTRFS *object);
const gchar * (*get_uuid) (UDisksFilesystemBTRFS *object);
gboolean (*handle_add_device) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_remove_device) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_repair) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
gboolean (*handle_resize) (
UDisksFilesystemBTRFS *object,
GDBusMethodInvocation *invocation,
guint64 arg_size,
GVariant *arg_options);
};
Virtual table for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-create-snapshot” signal. |
||
Handler for the “handle-create-subvolume” signal. |
||
Handler for the “handle-get-subvolumes” signal. |
||
Handler for the “handle-remove-subvolume” signal. |
||
Handler for the “handle-set-label” signal. |
||
Getter for the “label” property. |
||
Getter for the “num-devices” property. |
||
Getter for the “used” property. |
||
Getter for the “uuid” property. |
||
Handler for the “handle-add-device” signal. |
||
Handler for the “handle-remove-device” signal. |
||
Handler for the “handle-repair” signal. |
||
Handler for the “handle-resize” signal. |
Since: 2.1.3
struct UDisksFilesystemBTRFSProxy;
The UDisksFilesystemBTRFSProxy structure contains only private data and should only be accessed using the provided API.
Since: 2.1.3
struct UDisksFilesystemBTRFSProxyClass {
GDBusProxyClass parent_class;
};
Class structure for UDisksFilesystemBTRFSProxy.
Since: 2.1.3
struct UDisksFilesystemBTRFSSkeleton;
The UDisksFilesystemBTRFSSkeleton structure contains only private data and should only be accessed using the provided API.
Since: 2.1.3
struct UDisksFilesystemBTRFSSkeletonClass {
GDBusInterfaceSkeletonClass parent_class;
};
Class structure for UDisksFilesystemBTRFSSkeleton.
Since: 2.1.3
“label” property“label” gchar *
Represents the D-Bus property "label".
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.1.3
“num-devices” property“num-devices” guint64
Represents the D-Bus property "num_devices".
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
Since: 2.1.3
“used” property“used” guint64
Represents the D-Bus property "used".
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
Since: 2.1.3
“uuid” property“uuid” gchar *
Represents the D-Bus property "uuid".
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.1.3
“handle-add-device” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_device, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the AddDevice() 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_filesystem_btrfs_complete_add_device() 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 |
||
invocation |
||
arg_device |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.3.0
“handle-create-snapshot” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_source, gchar *arg_dest, gboolean arg_ro, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateSnapshot() 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_filesystem_btrfs_complete_create_snapshot() 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 |
||
invocation |
||
arg_source |
Argument passed by remote caller. |
|
arg_dest |
Argument passed by remote caller. |
|
arg_ro |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.3
“handle-create-subvolume” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_name, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateSubvolume() 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_filesystem_btrfs_complete_create_subvolume() 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 |
||
invocation |
||
arg_name |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.3
“handle-get-subvolumes” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gboolean arg_snapshots_only, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the GetSubvolumes() 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_filesystem_btrfs_complete_get_subvolumes() 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 |
||
invocation |
||
arg_snapshots_only |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.3
“handle-remove-device” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_device, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the RemoveDevice() 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_filesystem_btrfs_complete_remove_device() 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 |
||
invocation |
||
arg_device |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.3.0
“handle-remove-subvolume” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_name, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the RemoveSubvolume() 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_filesystem_btrfs_complete_remove_subvolume() 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 |
||
invocation |
||
arg_name |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.3
“handle-repair” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Repair() 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_filesystem_btrfs_complete_repair() 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 |
||
invocation |
||
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.3.0
“handle-resize” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, guint64 arg_size, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the Resize() 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_filesystem_btrfs_complete_resize() 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 |
||
invocation |
||
arg_size |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.3.0
“handle-set-label” signalgboolean user_function (UDisksFilesystemBTRFS *object, GDBusMethodInvocation *invocation, gchar *arg_label, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SetLabel() 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_filesystem_btrfs_complete_set_label() 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 |
||
invocation |
||
arg_label |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.1.3