mme_trksessionview_writedb()

Write the MME track session view to the database

Synopsis:

#include <mme/mme.h>

int mme_trksessionview_writedb( mme_hdl_t *hdl );

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_trksessionview_writedb() writes the current track session view to the trksessionview table in the MME database.

When the MME is configured to keep track session views in memory, it does not write the track session view to the MME database unless it is instructed to do so by a call to mme_trksessionview_writedb(). This function can be used to save track session views when the system is idle, or at system shutdown.

Events

This function delivers the event MME_EVENT_TRKSESSIONVIEW_COMPLETE when it has finished writing the track session view to the database. If the track session view has already been written to the database, this function will not write it a second time, but will nevertheless deliver MME_EVENT_TRKSESSIONVIEW_COMPLETE.

Blocking and validation

This function performs no validations, and returns immediately.

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_trksessionview_get_info(), mme_trksessionview_info_t, mme_trksessionview_metadata_get(), mme_trksessionview_readx()