Top |
GBoxed ├── QmiMessageWdsBindMuxDataPortInput ╰── QmiMessageWdsBindMuxDataPortOutput
QmiMessageWdsBindMuxDataPortInput *
qmi_message_wds_bind_mux_data_port_input_new
(void
);
Allocates a new QmiMessageWdsBindMuxDataPortInput.
the newly created QmiMessageWdsBindMuxDataPortInput. The returned value should be freed with qmi_message_wds_bind_mux_data_port_input_unref()
.
Since: 1.18
QmiMessageWdsBindMuxDataPortInput *
qmi_message_wds_bind_mux_data_port_input_ref
(QmiMessageWdsBindMuxDataPortInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.18
void
qmi_message_wds_bind_mux_data_port_input_unref
(QmiMessageWdsBindMuxDataPortInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_get_client_type (QmiMessageWdsBindMuxDataPortInput *self
,QmiWdsClientType *value_client_type
,GError **error
);
Get the 'Client Type' field from self
.
self |
||
value_client_type |
a placeholder for the output QmiWdsClientType, or |
[out] |
error |
Return location for error or |
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_set_client_type (QmiMessageWdsBindMuxDataPortInput *self
,QmiWdsClientType value_client_type
,GError **error
);
Set the 'Client Type' field in the message.
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_get_mux_id (QmiMessageWdsBindMuxDataPortInput *self
,guint8 *value_mux_id
,GError **error
);
Get the 'Mux ID' field from self
.
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_set_mux_id (QmiMessageWdsBindMuxDataPortInput *self
,guint8 value_mux_id
,GError **error
);
Set the 'Mux ID' field in the message.
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_get_endpoint_info (QmiMessageWdsBindMuxDataPortInput *self
,QmiDataEndpointType *value_endpoint_info_endpoint_type
,guint32 *value_endpoint_info_interface_number
,GError **error
);
Get the 'Endpoint Info' field from self
.
self |
||
value_endpoint_info_endpoint_type |
a placeholder for the output QmiDataEndpointType, or |
[out] |
value_endpoint_info_interface_number |
a placeholder for the output guint32, or |
[out] |
error |
Return location for error or |
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_input_set_endpoint_info (QmiMessageWdsBindMuxDataPortInput *self
,QmiDataEndpointType value_endpoint_info_endpoint_type
,guint32 value_endpoint_info_interface_number
,GError **error
);
Set the 'Endpoint Info' field in the message.
Since: 1.18
QmiMessageWdsBindMuxDataPortOutput *
qmi_message_wds_bind_mux_data_port_output_ref
(QmiMessageWdsBindMuxDataPortOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.18
void
qmi_message_wds_bind_mux_data_port_output_unref
(QmiMessageWdsBindMuxDataPortOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.18
gboolean qmi_message_wds_bind_mux_data_port_output_get_result (QmiMessageWdsBindMuxDataPortOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.18
void qmi_client_wds_bind_mux_data_port (QmiClientWds *self
,QmiMessageWdsBindMuxDataPortInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Bind Mux Data Port 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_bind_mux_data_port_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.18
QmiMessageWdsBindMuxDataPortOutput * qmi_client_wds_bind_mux_data_port_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_bind_mux_data_port()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsBindMuxDataPortOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_bind_mux_data_port_output_unref()
.
Since: 1.18
typedef struct _QmiMessageWdsBindMuxDataPortInput QmiMessageWdsBindMuxDataPortInput;
The QmiMessageWdsBindMuxDataPortInput structure contains private data and should only be accessed using the provided API.
Since: 1.18
typedef struct _QmiMessageWdsBindMuxDataPortOutput QmiMessageWdsBindMuxDataPortOutput;
The QmiMessageWdsBindMuxDataPortOutput structure contains private data and should only be accessed using the provided API.
Since: 1.18