Top |
QmiMessageWdsStartNetworkInput *
qmi_message_wds_start_network_input_new
(void
);
Allocates a new QmiMessageWdsStartNetworkInput.
the newly created QmiMessageWdsStartNetworkInput. The returned value should be freed with qmi_message_wds_start_network_input_unref()
.
QmiMessageWdsStartNetworkInput *
qmi_message_wds_start_network_input_ref
(QmiMessageWdsStartNetworkInput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_wds_start_network_input_unref
(QmiMessageWdsStartNetworkInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_wds_start_network_input_get_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType *call_type
,GError **error
);
Get the 'Call Type' field from self
.
self |
||
call_type |
a placeholder for the output QmiWdsCallType, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_input_set_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType call_type
,GError **error
);
Set the 'Call Type' field in the message.
gboolean qmi_message_wds_start_network_input_get_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference *extended_technology_preference
,GError **error
);
Get the 'Extended Technology Preference' field from self
.
self |
||
extended_technology_preference |
a placeholder for the output QmiWdsExtendedTechnologyPreference, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_input_set_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference extended_technology_preference
,GError **error
);
Set the 'Extended Technology Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean *enable_autoconnect
,GError **error
);
Get the 'Enable Autoconnect' field from self
.
gboolean qmi_message_wds_start_network_input_set_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean enable_autoconnect
,GError **error
);
Set the 'Enable Autoconnect' field in the message.
gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp2
,GError **error
);
Get the 'Profile Index 3GPP2' field from self
.
gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp2
,GError **error
);
Set the 'Profile Index 3GPP2' field in the message.
gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp
,GError **error
);
Get the 'Profile Index 3GPP' field from self
.
gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp
,GError **error
);
Set the 'Profile Index 3GPP' field in the message.
gboolean qmi_message_wds_start_network_input_get_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference *technology_preference
,GError **error
);
Get the 'Technology Preference' field from self
.
self |
||
technology_preference |
a placeholder for the output QmiWdsTechnologyPreference, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_input_set_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference technology_preference
,GError **error
);
Set the 'Technology Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily *ip_family_preference
,GError **error
);
Get the 'IP Family Preference' field from self
.
self |
||
ip_family_preference |
a placeholder for the output QmiWdsIpFamily, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_input_set_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily ip_family_preference
,GError **error
);
Set the 'IP Family Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_password (QmiMessageWdsStartNetworkInput *self
,const gchar **password
,GError **error
);
Get the 'Password' field from self
.
gboolean qmi_message_wds_start_network_input_set_password (QmiMessageWdsStartNetworkInput *self
,const gchar *password
,GError **error
);
Set the 'Password' field in the message.
gboolean qmi_message_wds_start_network_input_get_username (QmiMessageWdsStartNetworkInput *self
,const gchar **username
,GError **error
);
Get the 'Username' field from self
.
gboolean qmi_message_wds_start_network_input_set_username (QmiMessageWdsStartNetworkInput *self
,const gchar *username
,GError **error
);
Set the 'Username' field in the message.
gboolean qmi_message_wds_start_network_input_get_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication *authentication_preference
,GError **error
);
Get the 'Authentication Preference' field from self
.
self |
||
authentication_preference |
a placeholder for the output QmiWdsAuthentication, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_input_set_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication authentication_preference
,GError **error
);
Set the 'Authentication Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *ipv4_address_preference
,GError **error
);
Get the 'IPv4 Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 ipv4_address_preference
,GError **error
);
Set the 'IPv4 Address Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_apn (QmiMessageWdsStartNetworkInput *self
,const gchar **apn
,GError **error
);
Get the 'APN' field from self
.
gboolean qmi_message_wds_start_network_input_set_apn (QmiMessageWdsStartNetworkInput *self
,const gchar *apn
,GError **error
);
Set the 'APN' field in the message.
gboolean qmi_message_wds_start_network_input_get_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_nbns_address_preference
,GError **error
);
Get the 'Secondary NBNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_nbns_address_preference
,GError **error
);
Set the 'Secondary NBNS Address Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_nbns_address_preference
,GError **error
);
Get the 'Primary NBNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_nbns_address_preference
,GError **error
);
Set the 'Primary NBNS Address Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_dns_address_preference
,GError **error
);
Get the 'Secondary DNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_dns_address_preference
,GError **error
);
Set the 'Secondary DNS Address Preference' field in the message.
gboolean qmi_message_wds_start_network_input_get_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_dns_address_preference
,GError **error
);
Get the 'Primary DNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_dns_address_preference
,GError **error
);
Set the 'Primary DNS Address Preference' field in the message.
QmiMessageWdsStartNetworkOutput *
qmi_message_wds_start_network_output_ref
(QmiMessageWdsStartNetworkOutput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_wds_start_network_output_unref
(QmiMessageWdsStartNetworkOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_wds_start_network_output_get_result (QmiMessageWdsStartNetworkOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wds_start_network_output_get_packet_data_handle (QmiMessageWdsStartNetworkOutput *self
,guint32 *packet_data_handle
,GError **error
);
Get the 'Packet Data Handle' field from self
.
gboolean qmi_message_wds_start_network_output_get_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsCallEndReason *call_end_reason
,GError **error
);
Get the 'Call End Reason' field from self
.
self |
||
call_end_reason |
a placeholder for the output QmiWdsCallEndReason, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_start_network_output_get_verbose_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsVerboseCallEndReasonType *verbose_call_end_reason_type
,gint16 *verbose_call_end_reason_reason
,GError **error
);
Get the 'Verbose Call End Reason' field from self
.
self |
||
verbose_call_end_reason_type |
a placeholder for the output QmiWdsVerboseCallEndReasonType, or |
|
verbose_call_end_reason_reason |
a placeholder for the output gint16, or |
|
error |
Return location for error or |
void qmi_client_wds_start_network (QmiClientWds *self
,QmiMessageWdsStartNetworkInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Start Network 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_start_network_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 |
QmiMessageWdsStartNetworkOutput * qmi_client_wds_start_network_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_start_network()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsStartNetworkOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_start_network_output_unref()
.
typedef struct _QmiMessageWdsStartNetworkInput QmiMessageWdsStartNetworkInput;
The QmiMessageWdsStartNetworkInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsStartNetworkOutput QmiMessageWdsStartNetworkOutput;
The QmiMessageWdsStartNetworkOutput structure contains private data and should only be accessed using the provided API.