Sun Java System Access Manager 7.1 C API Reference

am_web_is_notification()

Returns a boolean specifying whether the given URL is the Notification Service URL for the web agent as configured in AMAgent.properties.

Syntax

#include "am_web.h"
AM_WEB_EXPORT boolean_t
am_web_is_notification(const char *request_url);

Parameters

This function takes the following parameter:

request_url

Pointer to the Notification Service URL

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 URL is the Notification Service URL of the agent as set in AMAgent.Properties.

B_FALSE

Otherwise.