Top |
The QmiMessageContext defines non-standard features of the QMI message associated with it, which may be required for a correct processing.
When a context is given when sending a request with qmi_device_command_full()
,
the same context will then be applied for the associated response.
QmiMessageContext *
qmi_message_context_new (void
);
Create a new empty QmiMessageContext.
a newly created QmiMessageContext. The returned value should be freed with qmi_message_context_unref()
.
[transfer full]
Since: 1.18
QmiMessageContext *
qmi_message_context_ref (QmiMessageContext *self
);
Atomically increments the reference count of self
by one.
Since: 1.18
void
qmi_message_context_unref (QmiMessageContext *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.18
void qmi_message_context_set_vendor_id (QmiMessageContext *self
,guint16 vendor_id
);
Sets the vendor ID associated to the message.
Since: 1.18
guint16
qmi_message_context_get_vendor_id (QmiMessageContext *self
);
Gets the vendor ID associated to the message.
Since: 1.18