Top |
UDisksDriveAtaUDisksDriveAta — Generated C code for the org.freedesktop.UDisks2.Drive.Ata D-Bus interface |
UDisksDriveAta | |
struct | UDisksDriveAtaIface |
struct | UDisksDriveAtaProxy |
struct | UDisksDriveAtaProxyClass |
struct | UDisksDriveAtaSkeleton |
struct | UDisksDriveAtaSkeletonClass |
GInterface ╰── UDisksDriveAta GObject ├── GDBusInterfaceSkeleton │ ╰── UDisksDriveAtaSkeleton │ ╰── UDisksLinuxDriveAta ╰── GDBusProxy ╰── UDisksDriveAtaProxy
UDisksDriveAtaProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksDriveAta.
UDisksDriveAtaSkeleton implements GDBusInterface and UDisksDriveAta.
UDisksDriveAta is implemented by UDisksDriveAtaProxy, UDisksDriveAtaSkeleton and UDisksLinuxDriveAta.
This section contains code for working with the org.freedesktop.UDisks2.Drive.Ata D-Bus interface in C.
GDBusInterfaceInfo *
udisks_drive_ata_interface_info (void
);
Gets a machine-readable description of the org.freedesktop.UDisks2.Drive.Ata D-Bus interface.
guint udisks_drive_ata_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the UDisksDriveAta interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void udisks_drive_ata_call_smart_update (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SmartUpdate()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_smart_update_finish()
to get the result of the operation.
See udisks_drive_ata_call_smart_update_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 |
gboolean udisks_drive_ata_call_smart_update_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_smart_update()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_smart_update_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SmartUpdate()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_smart_update()
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 |
void udisks_drive_ata_complete_smart_update (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SmartUpdate()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_smart_get_attributes (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SmartGetAttributes()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_smart_get_attributes_finish()
to get the result of the operation.
See udisks_drive_ata_call_smart_get_attributes_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 |
gboolean udisks_drive_ata_call_smart_get_attributes_finish (UDisksDriveAta *proxy
,GVariant **out_attributes
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_smart_get_attributes()
.
proxy |
||
out_attributes |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_smart_get_attributes_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GVariant **out_attributes
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SmartGetAttributes()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_smart_get_attributes()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
out_attributes |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void udisks_drive_ata_complete_smart_get_attributes (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
,GVariant *attributes
);
Helper function used in service implementations to finish handling invocations of the SmartGetAttributes()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_smart_selftest_abort (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SmartSelftestAbort()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_smart_selftest_abort_finish()
to get the result of the operation.
See udisks_drive_ata_call_smart_selftest_abort_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 |
gboolean udisks_drive_ata_call_smart_selftest_abort_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_smart_selftest_abort()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_smart_selftest_abort_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SmartSelftestAbort()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_smart_selftest_abort()
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 |
void udisks_drive_ata_complete_smart_selftest_abort (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SmartSelftestAbort()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_smart_selftest_start (UDisksDriveAta *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SmartSelftestStart()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_smart_selftest_start_finish()
to get the result of the operation.
See udisks_drive_ata_call_smart_selftest_start_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_type |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean udisks_drive_ata_call_smart_selftest_start_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_smart_selftest_start()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_smart_selftest_start_sync (UDisksDriveAta *proxy
,const gchar *arg_type
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SmartSelftestStart()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_smart_selftest_start()
for the asynchronous version of this method.
proxy |
||
arg_type |
Argument to pass with the method invocation. |
|
arg_options |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void udisks_drive_ata_complete_smart_selftest_start (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SmartSelftestStart()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_smart_set_enabled (UDisksDriveAta *proxy
,gboolean arg_value
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SmartSetEnabled()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_smart_set_enabled_finish()
to get the result of the operation.
See udisks_drive_ata_call_smart_set_enabled_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_value |
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.0.0
gboolean udisks_drive_ata_call_smart_set_enabled_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_smart_set_enabled()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 2.0.0
gboolean udisks_drive_ata_call_smart_set_enabled_sync (UDisksDriveAta *proxy
,gboolean arg_value
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SmartSetEnabled()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_smart_set_enabled()
for the asynchronous version of this method.
proxy |
||
arg_value |
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.0.0
void udisks_drive_ata_complete_smart_set_enabled (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SmartSetEnabled()
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.0.0
void udisks_drive_ata_call_pm_get_state (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the PmGetState()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_pm_get_state_finish()
to get the result of the operation.
See udisks_drive_ata_call_pm_get_state_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 |
gboolean udisks_drive_ata_call_pm_get_state_finish (UDisksDriveAta *proxy
,guchar *out_state
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_pm_get_state()
.
proxy |
||
out_state |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_pm_get_state_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,guchar *out_state
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the PmGetState()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_pm_get_state()
for the asynchronous version of this method.
proxy |
||
arg_options |
Argument to pass with the method invocation. |
|
out_state |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void udisks_drive_ata_complete_pm_get_state (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
,guchar state
);
Helper function used in service implementations to finish handling invocations of the PmGetState()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_pm_standby (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the PmStandby()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_pm_standby_finish()
to get the result of the operation.
See udisks_drive_ata_call_pm_standby_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 |
gboolean udisks_drive_ata_call_pm_standby_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_pm_standby()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_pm_standby_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the PmStandby()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_pm_standby()
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 |
void udisks_drive_ata_complete_pm_standby (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the PmStandby()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_pm_wakeup (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the PmWakeup()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_pm_wakeup_finish()
to get the result of the operation.
See udisks_drive_ata_call_pm_wakeup_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 |
gboolean udisks_drive_ata_call_pm_wakeup_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_pm_wakeup()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_pm_wakeup_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the PmWakeup()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_pm_wakeup()
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 |
void udisks_drive_ata_complete_pm_wakeup (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the PmWakeup()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void udisks_drive_ata_call_security_erase_unit (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SecurityEraseUnit()
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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_call_security_erase_unit_finish()
to get the result of the operation.
See udisks_drive_ata_call_security_erase_unit_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 |
gboolean udisks_drive_ata_call_security_erase_unit_finish (UDisksDriveAta *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_call_security_erase_unit()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean udisks_drive_ata_call_security_erase_unit_sync (UDisksDriveAta *proxy
,GVariant *arg_options
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SecurityEraseUnit()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See udisks_drive_ata_call_security_erase_unit()
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 |
void udisks_drive_ata_complete_security_erase_unit (UDisksDriveAta *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SecurityEraseUnit()
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.
gboolean
udisks_drive_ata_get_smart_supported (UDisksDriveAta *object
);
Gets the value of the "SmartSupported" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_smart_enabled (UDisksDriveAta *object
);
Gets the value of the "SmartEnabled" 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]
guint64
udisks_drive_ata_get_smart_updated (UDisksDriveAta *object
);
Gets the value of the "SmartUpdated" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_smart_failing (UDisksDriveAta *object
);
Gets the value of the "SmartFailing" 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]
gdouble
udisks_drive_ata_get_smart_temperature
(UDisksDriveAta *object
);
Gets the value of the "SmartTemperature" 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]
guint64
udisks_drive_ata_get_smart_power_on_seconds
(UDisksDriveAta *object
);
Gets the value of the "SmartPowerOnSeconds" 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]
gint
udisks_drive_ata_get_smart_num_attributes_failed_in_the_past
(UDisksDriveAta *object
);
Gets the value of the "SmartNumAttributesFailedInThePast" 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]
gint
udisks_drive_ata_get_smart_num_attributes_failing
(UDisksDriveAta *object
);
Gets the value of the "SmartNumAttributesFailing" 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]
gint64
udisks_drive_ata_get_smart_num_bad_sectors
(UDisksDriveAta *object
);
Gets the value of the "SmartNumBadSectors" 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]
gint
udisks_drive_ata_get_smart_selftest_percent_remaining
(UDisksDriveAta *object
);
Gets the value of the "SmartSelftestPercentRemaining" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
udisks_drive_ata_get_smart_selftest_status
(UDisksDriveAta *object
);
Gets the value of the "SmartSelftestStatus" 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 udisks_drive_ata_dup_smart_selftest_status()
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][nullable]
gchar *
udisks_drive_ata_dup_smart_selftest_status
(UDisksDriveAta *object
);
Gets a copy of the "SmartSelftestStatus" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_aam_enabled (UDisksDriveAta *object
);
Gets the value of the "AamEnabled" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_aam_supported (UDisksDriveAta *object
);
Gets the value of the "AamSupported" 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]
gint
udisks_drive_ata_get_aam_vendor_recommended_value
(UDisksDriveAta *object
);
Gets the value of the "AamVendorRecommendedValue" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_apm_enabled (UDisksDriveAta *object
);
Gets the value of the "ApmEnabled" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_apm_supported (UDisksDriveAta *object
);
Gets the value of the "ApmSupported" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_pm_enabled (UDisksDriveAta *object
);
Gets the value of the "PmEnabled" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_pm_supported (UDisksDriveAta *object
);
Gets the value of the "PmSupported" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_write_cache_enabled
(UDisksDriveAta *object
);
Gets the value of the "WriteCacheEnabled" 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.0.0
gboolean
udisks_drive_ata_get_write_cache_supported
(UDisksDriveAta *object
);
Gets the value of the "WriteCacheSupported" 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.0.0
gboolean
udisks_drive_ata_get_read_lookahead_enabled
(UDisksDriveAta *object
);
Gets the value of the "ReadLookaheadEnabled" 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.7
gboolean
udisks_drive_ata_get_read_lookahead_supported
(UDisksDriveAta *object
);
Gets the value of the "ReadLookaheadSupported" 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.7
gint
udisks_drive_ata_get_security_enhanced_erase_unit_minutes
(UDisksDriveAta *object
);
Gets the value of the "SecurityEnhancedEraseUnitMinutes" 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]
gint
udisks_drive_ata_get_security_erase_unit_minutes
(UDisksDriveAta *object
);
Gets the value of the "SecurityEraseUnitMinutes" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
udisks_drive_ata_get_security_frozen (UDisksDriveAta *object
);
Gets the value of the "SecurityFrozen" 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]
void udisks_drive_ata_set_smart_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "SmartSupported" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "SmartEnabled" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_updated (UDisksDriveAta *object
,guint64 value
);
Sets the "SmartUpdated" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_failing (UDisksDriveAta *object
,gboolean value
);
Sets the "SmartFailing" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_temperature (UDisksDriveAta *object
,gdouble value
);
Sets the "SmartTemperature" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_power_on_seconds (UDisksDriveAta *object
,guint64 value
);
Sets the "SmartPowerOnSeconds" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_num_attributes_failed_in_the_past (UDisksDriveAta *object
,gint value
);
Sets the "SmartNumAttributesFailedInThePast" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_num_attributes_failing (UDisksDriveAta *object
,gint value
);
Sets the "SmartNumAttributesFailing" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_num_bad_sectors (UDisksDriveAta *object
,gint64 value
);
Sets the "SmartNumBadSectors" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_selftest_percent_remaining (UDisksDriveAta *object
,gint value
);
Sets the "SmartSelftestPercentRemaining" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_smart_selftest_status (UDisksDriveAta *object
,const gchar *value
);
Sets the "SmartSelftestStatus" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_aam_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "AamEnabled" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_aam_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "AamSupported" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_aam_vendor_recommended_value (UDisksDriveAta *object
,gint value
);
Sets the "AamVendorRecommendedValue" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_apm_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "ApmEnabled" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_apm_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "ApmSupported" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_pm_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "PmEnabled" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_pm_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "PmSupported" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_write_cache_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "WriteCacheEnabled" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_drive_ata_set_write_cache_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "WriteCacheSupported" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
Since: 2.0.0
void udisks_drive_ata_set_read_lookahead_enabled (UDisksDriveAta *object
,gboolean value
);
Sets the "ReadLookaheadEnabled" 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.7
void udisks_drive_ata_set_read_lookahead_supported (UDisksDriveAta *object
,gboolean value
);
Sets the "ReadLookaheadSupported" 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.7
void udisks_drive_ata_set_security_enhanced_erase_unit_minutes (UDisksDriveAta *object
,gint value
);
Sets the "SecurityEnhancedEraseUnitMinutes" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_security_erase_unit_minutes (UDisksDriveAta *object
,gint value
);
Sets the "SecurityEraseUnitMinutes" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_set_security_frozen (UDisksDriveAta *object
,gboolean value
);
Sets the "SecurityFrozen" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void udisks_drive_ata_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.Drive.Ata. 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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_proxy_new_finish()
to get the result of the operation.
See udisks_drive_ata_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 |
UDisksDriveAta * udisks_drive_ata_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_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 UDisksDriveAtaProxy]
UDisksDriveAta * udisks_drive_ata_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.Drive.Ata. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See udisks_drive_ata_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 UDisksDriveAtaProxy]
void udisks_drive_ata_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_drive_ata_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 (see g_main_context_push_thread_default()
).
You can then call udisks_drive_ata_proxy_new_for_bus_finish()
to get the result of the operation.
See udisks_drive_ata_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 |
UDisksDriveAta * udisks_drive_ata_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with udisks_drive_ata_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 UDisksDriveAtaProxy]
UDisksDriveAta * udisks_drive_ata_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like udisks_drive_ata_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See udisks_drive_ata_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 UDisksDriveAtaProxy]
UDisksDriveAta *
udisks_drive_ata_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.freedesktop.UDisks2.Drive.Ata.
typedef struct _UDisksDriveAta UDisksDriveAta;
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Drive.Ata.
struct UDisksDriveAtaIface { GTypeInterface parent_iface; gboolean (*handle_pm_get_state) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_pm_standby) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_pm_wakeup) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_security_erase_unit) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_smart_get_attributes) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_smart_selftest_abort) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*handle_smart_selftest_start) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, const gchar *arg_type, GVariant *arg_options); gboolean (*handle_smart_update) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options); gboolean (*get_aam_enabled) (UDisksDriveAta *object); gboolean (*get_aam_supported) (UDisksDriveAta *object); gint (*get_aam_vendor_recommended_value) (UDisksDriveAta *object); gboolean (*get_apm_enabled) (UDisksDriveAta *object); gboolean (*get_apm_supported) (UDisksDriveAta *object); gboolean (*get_pm_enabled) (UDisksDriveAta *object); gboolean (*get_pm_supported) (UDisksDriveAta *object); gint (*get_security_enhanced_erase_unit_minutes) (UDisksDriveAta *object); gint (*get_security_erase_unit_minutes) (UDisksDriveAta *object); gboolean (*get_security_frozen) (UDisksDriveAta *object); gboolean (*get_smart_enabled) (UDisksDriveAta *object); gboolean (*get_smart_failing) (UDisksDriveAta *object); gint (*get_smart_num_attributes_failed_in_the_past) (UDisksDriveAta *object); gint (*get_smart_num_attributes_failing) (UDisksDriveAta *object); gint64 (*get_smart_num_bad_sectors) (UDisksDriveAta *object); guint64 (*get_smart_power_on_seconds) (UDisksDriveAta *object); gint (*get_smart_selftest_percent_remaining) (UDisksDriveAta *object); const gchar * (*get_smart_selftest_status) (UDisksDriveAta *object); gboolean (*get_smart_supported) (UDisksDriveAta *object); gdouble (*get_smart_temperature) (UDisksDriveAta *object); guint64 (*get_smart_updated) (UDisksDriveAta *object); gboolean (*handle_smart_set_enabled) ( UDisksDriveAta *object, GDBusMethodInvocation *invocation, gboolean arg_value, GVariant *arg_options); gboolean (*get_write_cache_enabled) (UDisksDriveAta *object); gboolean (*get_write_cache_supported) (UDisksDriveAta *object); gboolean (*get_read_lookahead_enabled) (UDisksDriveAta *object); gboolean (*get_read_lookahead_supported) (UDisksDriveAta *object); };
Virtual table for the D-Bus interface org.freedesktop.UDisks2.Drive.Ata.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-pm-get-state” signal. |
||
Handler for the “handle-pm-standby” signal. |
||
Handler for the “handle-pm-wakeup” signal. |
||
Handler for the “handle-security-erase-unit” signal. |
||
Handler for the “handle-smart-get-attributes” signal. |
||
Handler for the “handle-smart-selftest-abort” signal. |
||
Handler for the “handle-smart-selftest-start” signal. |
||
Handler for the “handle-smart-update” signal. |
||
Getter for the “aam-enabled” property. |
||
Getter for the “aam-supported” property. |
||
Getter for the “aam-vendor-recommended-value” property. |
||
Getter for the “apm-enabled” property. |
||
Getter for the “apm-supported” property. |
||
Getter for the “pm-enabled” property. |
||
Getter for the “pm-supported” property. |
||
Getter for the “security-enhanced-erase-unit-minutes” property. |
||
Getter for the “security-erase-unit-minutes” property. |
||
Getter for the “security-frozen” property. |
||
Getter for the “smart-enabled” property. |
||
Getter for the “smart-failing” property. |
||
Getter for the “smart-num-attributes-failed-in-the-past” property. |
||
Getter for the “smart-num-attributes-failing” property. |
||
Getter for the “smart-num-bad-sectors” property. |
||
Getter for the “smart-power-on-seconds” property. |
||
Getter for the “smart-selftest-percent-remaining” property. |
||
Getter for the “smart-selftest-status” property. |
||
Getter for the “smart-supported” property. |
||
Getter for the “smart-temperature” property. |
||
Getter for the “smart-updated” property. |
||
Handler for the “handle-smart-set-enabled” signal. |
||
Getter for the “write-cache-enabled” property. |
||
Getter for the “write-cache-supported” property. |
||
Getter for the “read-lookahead-enabled” property. |
||
Getter for the “read-lookahead-supported” property. |
struct UDisksDriveAtaProxy;
The UDisksDriveAtaProxy structure contains only private data and should only be accessed using the provided API.
struct UDisksDriveAtaProxyClass { GDBusProxyClass parent_class; };
Class structure for UDisksDriveAtaProxy.
struct UDisksDriveAtaSkeleton;
The UDisksDriveAtaSkeleton structure contains only private data and should only be accessed using the provided API.
struct UDisksDriveAtaSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for UDisksDriveAtaSkeleton.
“aam-enabled”
property“aam-enabled” gboolean
Represents the D-Bus property "AamEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“aam-supported”
property“aam-supported” gboolean
Represents the D-Bus property "AamSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“aam-vendor-recommended-value”
property “aam-vendor-recommended-value” int
Represents the D-Bus property "AamVendorRecommendedValue".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“apm-enabled”
property“apm-enabled” gboolean
Represents the D-Bus property "ApmEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“apm-supported”
property“apm-supported” gboolean
Represents the D-Bus property "ApmSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“pm-enabled”
property“pm-enabled” gboolean
Represents the D-Bus property "PmEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“pm-supported”
property“pm-supported” gboolean
Represents the D-Bus property "PmSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“read-lookahead-enabled”
property“read-lookahead-enabled” gboolean
Represents the D-Bus property "ReadLookaheadEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
Since: 2.1.7
“read-lookahead-supported”
property“read-lookahead-supported” gboolean
Represents the D-Bus property "ReadLookaheadSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
Since: 2.1.7
“security-enhanced-erase-unit-minutes”
property “security-enhanced-erase-unit-minutes” int
Represents the D-Bus property "SecurityEnhancedEraseUnitMinutes".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“security-erase-unit-minutes”
property “security-erase-unit-minutes” int
Represents the D-Bus property "SecurityEraseUnitMinutes".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“security-frozen”
property“security-frozen” gboolean
Represents the D-Bus property "SecurityFrozen".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“smart-enabled”
property“smart-enabled” gboolean
Represents the D-Bus property "SmartEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“smart-failing”
property“smart-failing” gboolean
Represents the D-Bus property "SmartFailing".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“smart-num-attributes-failed-in-the-past”
property “smart-num-attributes-failed-in-the-past” int
Represents the D-Bus property "SmartNumAttributesFailedInThePast".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-num-attributes-failing”
property “smart-num-attributes-failing” int
Represents the D-Bus property "SmartNumAttributesFailing".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-num-bad-sectors”
property“smart-num-bad-sectors” gint64
Represents the D-Bus property "SmartNumBadSectors".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-power-on-seconds”
property“smart-power-on-seconds” guint64
Represents the D-Bus property "SmartPowerOnSeconds".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-selftest-percent-remaining”
property “smart-selftest-percent-remaining” int
Represents the D-Bus property "SmartSelftestPercentRemaining".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-selftest-status”
property “smart-selftest-status” char *
Represents the D-Bus property "SmartSelftestStatus".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: NULL
“smart-supported”
property“smart-supported” gboolean
Represents the D-Bus property "SmartSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
“smart-temperature”
property “smart-temperature” double
Represents the D-Bus property "SmartTemperature".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“smart-updated”
property“smart-updated” guint64
Represents the D-Bus property "SmartUpdated".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: 0
“write-cache-enabled”
property“write-cache-enabled” gboolean
Represents the D-Bus property "WriteCacheEnabled".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
Since: 2.0.0
“write-cache-supported”
property“write-cache-supported” gboolean
Represents the D-Bus property "WriteCacheSupported".
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.
Owner: UDisksDriveAta
Flags: Read / Write
Default value: FALSE
Since: 2.0.0
“handle-pm-get-state”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the PmGetState()
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_drive_ata_complete_pm_get_state()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-pm-standby”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the PmStandby()
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_drive_ata_complete_pm_standby()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-pm-wakeup”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the PmWakeup()
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_drive_ata_complete_pm_wakeup()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-security-erase-unit”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SecurityEraseUnit()
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_drive_ata_complete_security_erase_unit()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-smart-get-attributes”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SmartGetAttributes()
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_drive_ata_complete_smart_get_attributes()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-smart-selftest-abort”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SmartSelftestAbort()
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_drive_ata_complete_smart_selftest_abort()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-smart-selftest-start”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, char *arg_type, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SmartSelftestStart()
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_drive_ata_complete_smart_selftest_start()
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_type |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-smart-set-enabled”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, gboolean arg_value, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SmartSetEnabled()
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_drive_ata_complete_smart_set_enabled()
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_value |
Argument passed by remote caller. |
|
arg_options |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
Since: 2.0.0
“handle-smart-update”
signalgboolean user_function (UDisksDriveAta *object, GDBusMethodInvocation *invocation, GVariant *arg_options, gpointer user_data)
Signal emitted when a remote caller is invoking the SmartUpdate()
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_drive_ata_complete_smart_update()
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. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last