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

am_map_size()

Returns the number of entries in the specified map object.

Syntax

#include "am_map.h"
AM_EXPORT size_t
am_map_size(const am_map_t map);

Parameters

This function takes the following parameter:

map

The specified map object.

Returns

This function returns a value based on size_t defined in the standard <stddef.h> header file. The value reflects the number of entries in the specified map object.