Common utilities: libmbim-glib Reference Manual

## Common utilities Common utilities |

## Functions

gboolean | mbim_utils_get_traces_enabled ()
void | mbim_utils_set_traces_enabled ()

## Description

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

## Functions

### mbim_utils_get_traces_enabled ()

    gboolean
    mbim_utils_get_traces_enabled (void);

Checks whether MBIM message traces are currently enabled.

#### Returns

`TRUE` if traces are enabled, `FALSE` otherwise.

### mbim_utils_set_traces_enabled ()

    void
    mbim_utils_set_traces_enabled (gboolean enabled);

Sets whether MBIM message traces are enabled or disabled.

#### Parameters

enabled | `TRUE` to enable traces, `FALSE` to disable them. |