Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

am_map_entry_iter_get_key()

Returns the key assigned to the entry currently being referenced by the specified entry iterator.

Syntax

#include "am_map.h"
AM_EXPORT const char *
am_map_entry_iter_get_key(am_map_entry_iter_t entry_iter);

Parameters

This function takes the following parameters:

entry_iter

The specified entry iterator.

Returns

This function returns one of the following values:

char *

Returns the key.


Note –

Caller must not modify or free the return value.


NULL

If the specified key iterator is NULL or does not reference a valid entry.