mme_sync_get_msid_status()

Gets the status of synchronization for a mediastore

Synopsis:

#include <mme/mme.h>

int mme_sync_get_msid_status ( mme_hdl_t *hdl,
                               uint64_t msid,
                               mme_sync_status_t *status )


Arguments:

hdl
An MME connection handle
msid
The ID of the mediastore for which you want to get the synchronization status.
status
A pointer to a mme_sync_status_t structure where the function can store information about the synchronization status.

Library:

mme

Description:

The function mme_sync_get_msid_status() gets information about a specific mediastore's synchronization status. For more information about the status structure, see mme_sync_status_t.

If you request the synchronization status for an invalid MSID (a mediastore that doesn't exist), the function returns success, but all pass fields in status are filled with 0.

Events

None delivered.

Blocking and validation

This function is non-blocking. It validates that status is not null.

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_directed_sync_cancel(), mme_resync_mediastore(), mme_setpriorityfolder(), mme_sync_cancel(), mme_sync_directed(), mme_sync_file(), mme_sync_get_msid_status()