Top |
WDS Configure Profile Event List responseWDS Configure Profile Event List response — Methods to manage the WDS Configure Profile Event List response. |
GBoxed ├── QmiMessageWdsConfigureProfileEventListInput ├── QmiMessageWdsConfigureProfileEventListInputRegisterElement ╰── QmiMessageWdsConfigureProfileEventListOutput
Collection of methods to create requests and parse responses of the WDS Configure Profile Event List message.
QmiMessageWdsConfigureProfileEventListInput *
qmi_message_wds_configure_profile_event_list_input_new
(void
);
Allocates a new QmiMessageWdsConfigureProfileEventListInput.
the newly created QmiMessageWdsConfigureProfileEventListInput. The returned value should be freed with qmi_message_wds_configure_profile_event_list_input_unref()
.
Since: 1.34
QmiMessageWdsConfigureProfileEventListInput *
qmi_message_wds_configure_profile_event_list_input_ref
(QmiMessageWdsConfigureProfileEventListInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.34
void
qmi_message_wds_configure_profile_event_list_input_unref
(QmiMessageWdsConfigureProfileEventListInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.34
gboolean qmi_message_wds_configure_profile_event_list_input_get_register (QmiMessageWdsConfigureProfileEventListInput *self
,GArray **value_register
,GError **error
);
Get the 'Register' field from self
.
[skip]
self |
||
value_register |
a placeholder for the output GArray of QmiMessageWdsConfigureProfileEventListInputRegisterElement elements, or |
[out][optional][element-type QmiMessageWdsConfigureProfileEventListInputRegisterElement][transfer none] |
error |
Return location for error or |
Since: 1.34
gboolean qmi_message_wds_configure_profile_event_list_input_get_register_gir (QmiMessageWdsConfigureProfileEventListInput *self
,GPtrArray **value_register_ptr
,GError **error
);
Get the 'Register' field from self
.
Version of qmi_message_wds_configure_profile_event_list_input_get_register()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_wds_configure_profile_event_list_input_get_register]
self |
||
value_register_ptr |
a placeholder for the output array of QmiMessageWdsConfigureProfileEventListInputRegisterElement elements, or |
[out][optional][element-type QmiMessageWdsConfigureProfileEventListInputRegisterElement][transfer none] |
error |
Return location for error or |
Since: 1.34
gboolean qmi_message_wds_configure_profile_event_list_input_set_register (QmiMessageWdsConfigureProfileEventListInput *self
,GArray *value_register
,GError **error
);
Set the 'Register' field in the message.
[skip]
self |
||
value_register |
a GArray of QmiMessageWdsConfigureProfileEventListInputRegisterElement elements. A new reference to |
[in][element-type QmiMessageWdsConfigureProfileEventListInputRegisterElement][transfer none] |
error |
Return location for error or |
Since: 1.34
gboolean qmi_message_wds_configure_profile_event_list_input_set_register_gir (QmiMessageWdsConfigureProfileEventListInput *self
,GPtrArray *value_register_ptr
,GError **error
);
Set the 'Register' field in the message.
[rename-to qmi_message_wds_configure_profile_event_list_input_set_register]
self |
||
value_register_ptr |
array of QmiMessageWdsConfigureProfileEventListInputRegisterElement elements. The contents of the given array will be copied, the GPtrArray will not increase its reference count. |
[in][element-type QmiMessageWdsConfigureProfileEventListInputRegisterElement][transfer none] |
error |
Return location for error or |
Since: 1.34
QmiMessageWdsConfigureProfileEventListOutput *
qmi_message_wds_configure_profile_event_list_output_ref
(QmiMessageWdsConfigureProfileEventListOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.34
void
qmi_message_wds_configure_profile_event_list_output_unref
(QmiMessageWdsConfigureProfileEventListOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.34
gboolean qmi_message_wds_configure_profile_event_list_output_get_result (QmiMessageWdsConfigureProfileEventListOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageWdsConfigureProfileEventListOutput. |
|
error |
Return location for error or |
Since: 1.34
QmiMessageWdsConfigureProfileEventListOutput * qmi_message_wds_configure_profile_event_list_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWdsConfigureProfileEventListOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWdsConfigureProfileEventListOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_configure_profile_event_list_output_unref()
.
Since: 1.34
void qmi_client_wds_configure_profile_event_list (QmiClientWds *self
,QmiMessageWdsConfigureProfileEventListInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Configure Profile Event List request to the device.
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 qmi_client_wds_configure_profile_event_list_finish()
to get the result of the operation.
self |
a QmiClientWds. |
|
input |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
Since: 1.34
QmiMessageWdsConfigureProfileEventListOutput * qmi_client_wds_configure_profile_event_list_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_configure_profile_event_list()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsConfigureProfileEventListOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_configure_profile_event_list_output_unref()
.
Since: 1.34
typedef struct _QmiMessageWdsConfigureProfileEventListInput QmiMessageWdsConfigureProfileEventListInput;
The QmiMessageWdsConfigureProfileEventListInput structure contains private data and should only be accessed using the provided API.
Since: 1.34
typedef struct { QmiWdsProfileType profile_type; guint8 profile_index; } QmiMessageWdsConfigureProfileEventListInputRegisterElement;
A QmiMessageWdsConfigureProfileEventListInputRegisterElement struct.
Since: 1.34
typedef struct _QmiMessageWdsConfigureProfileEventListOutput QmiMessageWdsConfigureProfileEventListOutput;
The QmiMessageWdsConfigureProfileEventListOutput structure contains private data and should only be accessed using the provided API.
Since: 1.34