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

am_notify() Returns

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

AM_SUCCESS

If the XML was successfully parsed and processed.

AM_INVALID_ARGUMENT

If any input parameter is invalid.

AM_ERROR_PARSING_XML

If an error occurred parsing the XML.

AM_ERROR_DISPATCH_LISTENER

If an error occurred dispatching the listener.

AM_FAILURE

If any other error occurred.