Sun Java System Access Manager 7 2005Q4 C API Reference

am_policy_init()

Initializes the policy evaluation engine.

Syntax

#include "am_policy.h"
AM_EXPORT am_status_t
am_policy_init(am_properties_t policy_config_properties);

Parameters

This function takes the following parameters:

properties

The properties to initialize the policy service with.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the call was successful.

AM_*

If any error occurs, the type of error indicated by the status value.

Details

This function initializes a policy service instance. Memory Concerns: Caller must call am_policy_destroy structure or free the memory.