mme_disconnect()

Disconnect from a control context

Synopsis:

#include <mme/mme.h>

int mme_disconnect( mme_hdl_t *hdl );

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_disconnect() disconnects the client application from the current MME control context.

If you want to disconnect from a control context but leave the MME process running and available for new client application connections, simply call mme_disconnect() with the handle of the control context from which you want to disconnect. However, if you want to shut down the MME, you must:

  1. Call mme_shutdown() to stop playback and synchronization operations and prepare the MME for shutdown.
  2. Call mme_disconnect() to disconnect from the MME.

For more information about how to shut down the MME, see mme_shutdown() and Shutting down the MME in the chapter Starting Up and Connecting to the MME of the MME Developer's Guide.

Events

None delivered.

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_connect(), mme_shutdown()