Common utilities

Common utilities — Common utilities in the library.

Functions

Description

This section exposes a set of common utilities that may be used to work with the QMI library.

Functions

qmi_utils_get_traces_enabled ()

gboolean
qmi_utils_get_traces_enabled (void);

Checks whether QMI message traces are currently enabled.

Returns

TRUE if traces are enabled, FALSE otherwise.

Since: 1.0


qmi_utils_set_traces_enabled ()

void
qmi_utils_set_traces_enabled (gboolean enabled);

Sets whether QMI message traces are enabled or disabled.

Parameters

enabled

TRUE to enable traces, FALSE to disable them.

 

Since: 1.0


qmi_utils_set_show_personal_info ()

void
qmi_utils_set_show_personal_info (gboolean show_personal_info);

Sets whether personal info is printed when traces are enabled.

Parameters

show_personal_info

TRUE to show personal info in traces, FALSE otherwise.

 

Since: 1.32


qmi_utils_get_show_personal_info ()

gboolean
qmi_utils_get_show_personal_info (void);

Checks whether personal info should be hidden when traces are enabled.

Returns

TRUE to show personal info in trace, FALSE otherwise.

Since: 1.32