LOC Get Engine Lock indication

LOC Get Engine Lock indication — Methods to manage the LOC Get Engine Lock indication.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiIndicationLocGetEngineLockOutput

Description

Collection of methods to parse indications of the LOC Get Engine Lock message.

Functions

qmi_indication_loc_get_engine_lock_output_ref ()

QmiIndicationLocGetEngineLockOutput *
qmi_indication_loc_get_engine_lock_output_ref
                               (QmiIndicationLocGetEngineLockOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.28


qmi_indication_loc_get_engine_lock_output_unref ()

void
qmi_indication_loc_get_engine_lock_output_unref
                               (QmiIndicationLocGetEngineLockOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Parameters

Since: 1.28


qmi_indication_loc_get_engine_lock_output_get_lock_type ()

gboolean
qmi_indication_loc_get_engine_lock_output_get_lock_type
                               (QmiIndicationLocGetEngineLockOutput *self,
                                QmiLocLockType *value_lock_type,
                                GError **error);

Get the 'Lock Type' field from self .

Parameters

self

a QmiIndicationLocGetEngineLockOutput.

 

value_lock_type

a placeholder for the output QmiLocLockType, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.28


qmi_indication_loc_get_engine_lock_output_get_indication_status ()

gboolean
qmi_indication_loc_get_engine_lock_output_get_indication_status
                               (QmiIndicationLocGetEngineLockOutput *self,
                                QmiLocIndicationStatus *value_indication_status,
                                GError **error);

Get the 'Indication Status' field from self .

Parameters

self

a QmiIndicationLocGetEngineLockOutput.

 

value_indication_status

a placeholder for the output QmiLocIndicationStatus, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.28


qmi_indication_loc_get_engine_lock_indication_parse ()

QmiIndicationLocGetEngineLockOutput *
qmi_indication_loc_get_engine_lock_indication_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiIndicationLocGetEngineLockOutput out of it. The operation fails if the message is of the wrong type.

Parameters

message

a QmiMessage.

 

error

return location for error or NULL.

 

Returns

a QmiIndicationLocGetEngineLockOutput, or NULL if error is set. The returned value should be freed with qmi_indication_loc_get_engine_lock_output_unref().

Since: 1.34

Types and Values

QmiIndicationLocGetEngineLockOutput

typedef struct _QmiIndicationLocGetEngineLockOutput QmiIndicationLocGetEngineLockOutput;

The QmiIndicationLocGetEngineLockOutput structure contains private data and should only be accessed using the provided API.

Since: 1.28