mme_metadata_extract_unsigned()

Get unsigned metadata from the metadata handle

Synopsis:

#include <mme/metadata.h>

int mme_metadata_extract_unsigned( const mme_metadata_hdl_t *metadata,
                                   const char *type,
                                   uint32_t flags,
                                   unsigned *value);

Arguments:

metadata
The pointer to the handle with the metadata, returned by mme_ms_metadata_get().
type
The type of metadata to retrieve. See METADATA_*.
flags
For future use.
value
A pointer to the location where the value is to be returned; must not be NULL.

Library:

metadata

Description:

The function mme_metadata_extract_unsigned() extracts unsigned metadata from the metadata handle mme_metadata_hdl_t.

Events

None delivered.

Blocking and validation

This function validates that the metadata handle isn't NULL. It doesn't block.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

METADATA_*, mme_metadata_alloc(), mme_metadata_extract_data(), mme_metadata_extract_string(), mme_metadata_hdl_t, mme_ms_metadata_done(), mme_ms_metadata_get()