mme_set_debug()

Set MME debug settings

Synopsis:

#include <mme/mme.h>

int mme_set_debug( mme_hdl_t *hdl,
                   uint8_t verbose,
                   uint8_t debug );

Arguments:

hdl
An MME connection handle.
verbose
The verbosity setting for the MME.
debug
The debug setting for the MME.

Library:

mme

Description:

The function mme_set_debug() sets the MME verbosity and debug levels. It can be called at any time. Debug and verbosity levels range from 0 (zero) to 10, with 0 meaning “turned off” and 10 providing the most detailed information. These levels are equivalent to the mme start up options -v and -D. See also mme in the MME Utilities Reference.

When debugging problems, use a higher verbosity level to write more detailed information to the log. The debug setting is usually used only by QNX developers.


Caution: The higher the verbosity and debug settings, the more overhead is placed on the system. A production environment should run with verbosity and debug settings of 0 (zero).

Events

None delivered.

Blocking and validation

This function blocks until it completes.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_set_api_timeout()