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

am_web_postcache_lookup()

Looks up data in the POST cache.

Syntax

#include "am_web.h"
AM_WEB_EXPORT boolean_t
am_web_postcache_lookup(const char *key,
                        am_web_postcache_data_t *postdata_entry,
                        void* agent_config);

Parameters

This function takes the following parameters:

key

Pointer to the key to search POST data entry in POST data structure.

postdata_entry

Pointer to the am_web_postcache_data_t data type storing the POST data.

agent_config

An agent configuration instance returned by am_web_get_agent_configuration(). This parameter should not be NULL.

Returns

This function returns one of the following values of the boolean_t enumeration (defined in the <am_types.h> header file):

B_TRUE

If the search was successful.

B_FALSE

Otherwise.