Sun Java System Access Manager 7 2005Q4 C API Reference

am_policy_resource_has_patterns()

Returns whether the given resource name has patterns such as ’*’.

Syntax

#include "am_policy.h"
AM_EXPORT boolean_t am_policy_resource_has_patterns(const char *resource_name);

Parameters

This function takes the following parameter:

resource_name

Name of the resource.

Returns

This function returns boolean_t with one of the following values:

true

If the resource has patterns.

false

Otherwise.