libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdsSetIpFamilyInput; QmiMessageWdsSetIpFamilyOutput; QmiMessageWdsSetIpFamilyInput * qmi_message_wds_set_ip_family_input_new (void
); QmiMessageWdsSetIpFamilyInput * qmi_message_wds_set_ip_family_input_ref (QmiMessageWdsSetIpFamilyInput *self
); void qmi_message_wds_set_ip_family_input_unref (QmiMessageWdsSetIpFamilyInput *self
); gboolean qmi_message_wds_set_ip_family_input_get_preference (QmiMessageWdsSetIpFamilyInput *self
,QmiWdsIpFamily *preference
,GError **error
); gboolean qmi_message_wds_set_ip_family_input_set_preference (QmiMessageWdsSetIpFamilyInput *self
,QmiWdsIpFamily preference
,GError **error
); QmiMessageWdsSetIpFamilyOutput * qmi_message_wds_set_ip_family_output_ref (QmiMessageWdsSetIpFamilyOutput *self
); void qmi_message_wds_set_ip_family_output_unref (QmiMessageWdsSetIpFamilyOutput *self
); gboolean qmi_message_wds_set_ip_family_output_get_result (QmiMessageWdsSetIpFamilyOutput *self
,GError **error
); void qmi_client_wds_set_ip_family (QmiClientWds *self
,QmiMessageWdsSetIpFamilyInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdsSetIpFamilyOutput * qmi_client_wds_set_ip_family_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageWdsSetIpFamilyInput
GBoxed +----QmiMessageWdsSetIpFamilyOutput
typedef struct _QmiMessageWdsSetIpFamilyInput QmiMessageWdsSetIpFamilyInput;
The QmiMessageWdsSetIpFamilyInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsSetIpFamilyOutput QmiMessageWdsSetIpFamilyOutput;
The QmiMessageWdsSetIpFamilyOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWdsSetIpFamilyInput * qmi_message_wds_set_ip_family_input_new
(void
);
Allocates a new QmiMessageWdsSetIpFamilyInput.
Returns : |
the newly created QmiMessageWdsSetIpFamilyInput. The returned value should be freed with qmi_message_wds_set_ip_family_input_unref() . |
QmiMessageWdsSetIpFamilyInput * qmi_message_wds_set_ip_family_input_ref
(QmiMessageWdsSetIpFamilyInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsSetIpFamilyInput. |
Returns : |
the new reference to self . |
void qmi_message_wds_set_ip_family_input_unref
(QmiMessageWdsSetIpFamilyInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsSetIpFamilyInput. |
gboolean qmi_message_wds_set_ip_family_input_get_preference (QmiMessageWdsSetIpFamilyInput *self
,QmiWdsIpFamily *preference
,GError **error
);
Get the 'Preference' field from self
.
|
a QmiMessageWdsSetIpFamilyInput. |
|
a placeholder for the output QmiWdsIpFamily, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_set_ip_family_input_set_preference (QmiMessageWdsSetIpFamilyInput *self
,QmiWdsIpFamily preference
,GError **error
);
Set the 'Preference' field in the message.
|
a QmiMessageWdsSetIpFamilyInput. |
|
a QmiWdsIpFamily. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsSetIpFamilyOutput * qmi_message_wds_set_ip_family_output_ref
(QmiMessageWdsSetIpFamilyOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsSetIpFamilyOutput. |
Returns : |
the new reference to self . |
void qmi_message_wds_set_ip_family_output_unref
(QmiMessageWdsSetIpFamilyOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsSetIpFamilyOutput. |
gboolean qmi_message_wds_set_ip_family_output_get_result (QmiMessageWdsSetIpFamilyOutput *self
,GError **error
);
Get the result of the QMI operation.
void qmi_client_wds_set_ip_family (QmiClientWds *self
,QmiMessageWdsSetIpFamilyInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set IP Family 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_set_ip_family_finish()
to get the result of the operation.
|
a QmiClientWds. |
|
a QmiMessageWdsSetIpFamilyInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
QmiMessageWdsSetIpFamilyOutput * qmi_client_wds_set_ip_family_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_set_ip_family()
.
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_set_ip_family() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdsSetIpFamilyOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_set_ip_family_output_unref() . |