mme_mediacopier_remove()

Remove files from the media copy queue

Synopsis:

#include <mme/mme.h>

int mme_mediacopier_remove( mme_hdl_t *hdl,
                            char *statement,
                            uint32_t flags );

Arguments:

hdl
An MME connection handle.
statement
An SQL statement of copy queue IDs that you want to remove from the copy queue.
flags
Option flags. There are currently none defined, pass as 0.

Library:

mme

Description:

The function mme_mediacopier_remove() removes specified files from the copy queue. To clear all files from the copy queue, use mme_mediacopier_clear().

Events

None returned.

Blocking and validation

Full validation of data; all arguments are checked before the call returns.

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_mediacopier_add(), mme_mediacopier_cleanup(), mme_mediacopier_clear(), mme_mediacopier_disable(), mme_mediacopier_enable(), mme_mediacopier_get_status()