StoragedFilesystemBTRFS

StoragedFilesystemBTRFS — Generated C code for the org.storaged.Storaged.Filesystem.BTRFS D-Bus interface

Functions

void storaged_filesystem_btrfs_call_create_snapshot ()
gboolean storaged_filesystem_btrfs_call_create_snapshot_finish ()
gboolean storaged_filesystem_btrfs_call_create_snapshot_sync ()
void storaged_filesystem_btrfs_call_create_subvolume ()
gboolean storaged_filesystem_btrfs_call_create_subvolume_finish ()
gboolean storaged_filesystem_btrfs_call_create_subvolume_sync ()
void storaged_filesystem_btrfs_call_get_subvolumes ()
gboolean storaged_filesystem_btrfs_call_get_subvolumes_finish ()
gboolean storaged_filesystem_btrfs_call_get_subvolumes_sync ()
void storaged_filesystem_btrfs_call_remove_subvolume ()
gboolean storaged_filesystem_btrfs_call_remove_subvolume_finish ()
gboolean storaged_filesystem_btrfs_call_remove_subvolume_sync ()
void storaged_filesystem_btrfs_call_set_label ()
gboolean storaged_filesystem_btrfs_call_set_label_finish ()
gboolean storaged_filesystem_btrfs_call_set_label_sync ()
void storaged_filesystem_btrfs_complete_create_snapshot ()
void storaged_filesystem_btrfs_complete_create_subvolume ()
void storaged_filesystem_btrfs_complete_get_subvolumes ()
void storaged_filesystem_btrfs_complete_remove_subvolume ()
void storaged_filesystem_btrfs_complete_set_label ()
gchar * storaged_filesystem_btrfs_dup_label ()
gchar * storaged_filesystem_btrfs_dup_uuid ()
const gchar * storaged_filesystem_btrfs_get_label ()
guint64 storaged_filesystem_btrfs_get_num_devices ()
guint64 storaged_filesystem_btrfs_get_used ()
const gchar * storaged_filesystem_btrfs_get_uuid ()
GDBusInterfaceInfo * storaged_filesystem_btrfs_interface_info ()
guint storaged_filesystem_btrfs_override_properties ()
void storaged_filesystem_btrfs_proxy_new ()
StoragedFilesystemBTRFS * storaged_filesystem_btrfs_proxy_new_finish ()
void storaged_filesystem_btrfs_proxy_new_for_bus ()
StoragedFilesystemBTRFS * storaged_filesystem_btrfs_proxy_new_for_bus_finish ()
StoragedFilesystemBTRFS * storaged_filesystem_btrfs_proxy_new_for_bus_sync ()
StoragedFilesystemBTRFS * storaged_filesystem_btrfs_proxy_new_sync ()
void storaged_filesystem_btrfs_set_label ()
void storaged_filesystem_btrfs_set_num_devices ()
void storaged_filesystem_btrfs_set_used ()
void storaged_filesystem_btrfs_set_uuid ()
StoragedFilesystemBTRFS * storaged_filesystem_btrfs_skeleton_new ()

Description

This section contains code for working with the org.storaged.Storaged.Filesystem.BTRFS D-Bus interface in C.

Functions

storaged_filesystem_btrfs_call_create_snapshot ()

void
storaged_filesystem_btrfs_call_create_snapshot
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_create_snapshot_finish() to get the result of the operation.

See storaged_filesystem_btrfs_call_create_snapshot_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

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 NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

Since: 2.1.3


storaged_filesystem_btrfs_call_create_snapshot_finish ()

gboolean
storaged_filesystem_btrfs_call_create_snapshot_finish
                               (StoragedFilesystemBTRFS *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_call_create_snapshot().

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_call_create_snapshot().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]

Since: 2.1.3


storaged_filesystem_btrfs_call_create_snapshot_sync ()

gboolean
storaged_filesystem_btrfs_call_create_snapshot_sync
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_create_snapshot() for the asynchronous version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

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 NULL.

[allow-none]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]

Since: 2.1.3


storaged_filesystem_btrfs_call_create_subvolume ()

void
storaged_filesystem_btrfs_call_create_subvolume
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_create_subvolume_finish() to get the result of the operation.

See storaged_filesystem_btrfs_call_create_subvolume_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_name

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

storaged_filesystem_btrfs_call_create_subvolume_finish ()

gboolean
storaged_filesystem_btrfs_call_create_subvolume_finish
                               (StoragedFilesystemBTRFS *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_call_create_subvolume().

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_call_create_subvolume().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_call_create_subvolume_sync ()

gboolean
storaged_filesystem_btrfs_call_create_subvolume_sync
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_create_subvolume() for the asynchronous version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_name

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_call_get_subvolumes ()

void
storaged_filesystem_btrfs_call_get_subvolumes
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_get_subvolumes_finish() to get the result of the operation.

See storaged_filesystem_btrfs_call_get_subvolumes_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_snapshots_only

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

Since: 2.1.3


storaged_filesystem_btrfs_call_get_subvolumes_finish ()

gboolean
storaged_filesystem_btrfs_call_get_subvolumes_finish
                               (StoragedFilesystemBTRFS *proxy,
                                GVariant **out_subvolumes,
                                gint *out_subvolumes_cnt,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_call_get_subvolumes().

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

out_subvolumes

Return location for return parameter or NULL to ignore.

[out]

out_subvolumes_cnt

Return location for return parameter or NULL to ignore.

[out]

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_call_get_subvolumes().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]

Since: 2.1.3


storaged_filesystem_btrfs_call_get_subvolumes_sync ()

gboolean
storaged_filesystem_btrfs_call_get_subvolumes_sync
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_get_subvolumes() for the asynchronous version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

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 NULL to ignore.

[out]

out_subvolumes_cnt

Return location for return parameter or NULL to ignore.

[out]

cancellable

A GCancellable or NULL.

[allow-none]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]

Since: 2.1.3


storaged_filesystem_btrfs_call_remove_subvolume ()

void
storaged_filesystem_btrfs_call_remove_subvolume
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_remove_subvolume_finish() to get the result of the operation.

See storaged_filesystem_btrfs_call_remove_subvolume_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_name

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

storaged_filesystem_btrfs_call_remove_subvolume_finish ()

gboolean
storaged_filesystem_btrfs_call_remove_subvolume_finish
                               (StoragedFilesystemBTRFS *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_call_remove_subvolume().

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_call_remove_subvolume().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_call_remove_subvolume_sync ()

gboolean
storaged_filesystem_btrfs_call_remove_subvolume_sync
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_remove_subvolume() for the asynchronous version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_name

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_call_set_label ()

void
storaged_filesystem_btrfs_call_set_label
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_set_label_finish() to get the result of the operation.

See storaged_filesystem_btrfs_call_set_label_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_label

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

storaged_filesystem_btrfs_call_set_label_finish ()

gboolean
storaged_filesystem_btrfs_call_set_label_finish
                               (StoragedFilesystemBTRFS *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_call_set_label().

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_call_set_label().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_call_set_label_sync ()

gboolean
storaged_filesystem_btrfs_call_set_label_sync
                               (StoragedFilesystemBTRFS *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 storaged_filesystem_btrfs_call_set_label() for the asynchronous version of this method.

Parameters

proxy

A StoragedFilesystemBTRFSProxy.

 

arg_label

Argument to pass with the method invocation.

 

arg_options

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[allow-none]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeded, FALSE if error is set.

[skip]


storaged_filesystem_btrfs_complete_create_snapshot ()

void
storaged_filesystem_btrfs_complete_create_snapshot
                               (StoragedFilesystemBTRFS *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.

Parameters

object

A StoragedFilesystemBTRFS.

 

invocation

A GDBusMethodInvocation.

[transfer full]

Since: 2.1.3


storaged_filesystem_btrfs_complete_create_subvolume ()

void
storaged_filesystem_btrfs_complete_create_subvolume
                               (StoragedFilesystemBTRFS *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.

Parameters

object

A StoragedFilesystemBTRFS.

 

invocation

A GDBusMethodInvocation.

[transfer full]

storaged_filesystem_btrfs_complete_get_subvolumes ()

void
storaged_filesystem_btrfs_complete_get_subvolumes
                               (StoragedFilesystemBTRFS *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.

Parameters

object

A StoragedFilesystemBTRFS.

 

invocation

A GDBusMethodInvocation.

[transfer full]

subvolumes

Parameter to return.

 

subvolumes_cnt

Parameter to return.

 

Since: 2.1.3


storaged_filesystem_btrfs_complete_remove_subvolume ()

void
storaged_filesystem_btrfs_complete_remove_subvolume
                               (StoragedFilesystemBTRFS *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.

Parameters

object

A StoragedFilesystemBTRFS.

 

invocation

A GDBusMethodInvocation.

[transfer full]

storaged_filesystem_btrfs_complete_set_label ()

void
storaged_filesystem_btrfs_complete_set_label
                               (StoragedFilesystemBTRFS *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.

Parameters

object

A StoragedFilesystemBTRFS.

 

invocation

A GDBusMethodInvocation.

[transfer full]

storaged_filesystem_btrfs_dup_label ()

gchar *
storaged_filesystem_btrfs_dup_label (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full]


storaged_filesystem_btrfs_dup_uuid ()

gchar *
storaged_filesystem_btrfs_dup_uuid (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full]


storaged_filesystem_btrfs_get_label ()

const gchar *
storaged_filesystem_btrfs_get_label (StoragedFilesystemBTRFS *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.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use storaged_filesystem_btrfs_dup_label() if on another thread.

[skip]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none]


storaged_filesystem_btrfs_get_num_devices ()

guint64
storaged_filesystem_btrfs_get_num_devices
                               (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value.


storaged_filesystem_btrfs_get_used ()

guint64
storaged_filesystem_btrfs_get_used (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value.


storaged_filesystem_btrfs_get_uuid ()

const gchar *
storaged_filesystem_btrfs_get_uuid (StoragedFilesystemBTRFS *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.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use storaged_filesystem_btrfs_dup_uuid() if on another thread.

[skip]

Parameters

object

A StoragedFilesystemBTRFS.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none]


storaged_filesystem_btrfs_interface_info ()

GDBusInterfaceInfo *
storaged_filesystem_btrfs_interface_info
                               (void);

Gets a machine-readable description of the org.storaged.Storaged.Filesystem.BTRFS D-Bus interface.

Returns

A GDBusInterfaceInfo. Do not free.

[transfer none]


storaged_filesystem_btrfs_override_properties ()

guint
storaged_filesystem_btrfs_override_properties
                               (GObjectClass *klass,
                                guint property_id_begin);

Overrides all GObject properties in the StoragedFilesystemBTRFS interface for a concrete class. The properties are overridden in the order they are defined.

Parameters

klass

The class structure for a GObject-derived class.

 

property_id_begin

The property id to assign to the first overridden property.

 

Returns

The last property id.


storaged_filesystem_btrfs_proxy_new ()

void
storaged_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.storaged.Storaged.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 storaged_filesystem_btrfs_proxy_new_finish() to get the result of the operation.

See storaged_filesystem_btrfs_proxy_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[allow-none]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

storaged_filesystem_btrfs_proxy_new_finish ()

StoragedFilesystemBTRFS *
storaged_filesystem_btrfs_proxy_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_proxy_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_proxy_new().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type StoragedFilesystemBTRFSProxy]


storaged_filesystem_btrfs_proxy_new_for_bus ()

void
storaged_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 storaged_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 storaged_filesystem_btrfs_proxy_new_for_bus_finish() to get the result of the operation.

See storaged_filesystem_btrfs_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

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 NULL.

[allow-none]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

storaged_filesystem_btrfs_proxy_new_for_bus_finish ()

StoragedFilesystemBTRFS *
storaged_filesystem_btrfs_proxy_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with storaged_filesystem_btrfs_proxy_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_filesystem_btrfs_proxy_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type StoragedFilesystemBTRFSProxy]


storaged_filesystem_btrfs_proxy_new_for_bus_sync ()

StoragedFilesystemBTRFS *
storaged_filesystem_btrfs_proxy_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like storaged_filesystem_btrfs_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See storaged_filesystem_btrfs_proxy_new_for_bus() for the asynchronous version of this constructor.

Parameters

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 NULL.

[allow-none]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type StoragedFilesystemBTRFSProxy]


storaged_filesystem_btrfs_proxy_new_sync ()

StoragedFilesystemBTRFS *
storaged_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.storaged.Storaged.Filesystem.BTRFS. See g_dbus_proxy_new_sync() for more details.

The calling thread is blocked until a reply is received.

See storaged_filesystem_btrfs_proxy_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[allow-none]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[allow-none]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type StoragedFilesystemBTRFSProxy]


storaged_filesystem_btrfs_set_label ()

void
storaged_filesystem_btrfs_set_label (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

value

The value to set.

 

storaged_filesystem_btrfs_set_num_devices ()

void
storaged_filesystem_btrfs_set_num_devices
                               (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

value

The value to set.

 

storaged_filesystem_btrfs_set_used ()

void
storaged_filesystem_btrfs_set_used (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

value

The value to set.

 

storaged_filesystem_btrfs_set_uuid ()

void
storaged_filesystem_btrfs_set_uuid (StoragedFilesystemBTRFS *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]

Parameters

object

A StoragedFilesystemBTRFS.

 

value

The value to set.

 

storaged_filesystem_btrfs_skeleton_new ()

StoragedFilesystemBTRFS *
storaged_filesystem_btrfs_skeleton_new
                               (void);

Creates a skeleton object for the D-Bus interface org.storaged.Storaged.Filesystem.BTRFS.

Returns

The skeleton object.

[transfer full][type StoragedFilesystemBTRFSSkeleton]

Types and Values