mme_getccid()

Get the control context ID for the currently connected control context

Synopsis:

#include <mme/mme.h>

int mme_getccid( mme_hdl_t *hdl,
                 uint64_t *ccid);

Arguments:

hdl
An MME connection handle.
ccid
The control context ID (output).

Library:

mme

Description:

The function mme_getccid() returns the ID for the control context associated with the specified MME handle. You can use this ID to query these tables in the MME database:

For more information about control contexts, see the chapter Control Contexts, Zones and Output Devices in the MME Developer's Guide.

Events

None delivered.

Blocking and validation

This function is fully validating; it checks all arguments before returning.

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()