Destroys an initialized instance of a policy evaluator object.
An instance is initialized for each policy request.
The caller must ensure that the same instance is not destroyed more than once.
#include "am_policy.h" AM_EXPORT am_status_t am_policy_destroy(am_policy_t policy);
This function takes the following parameter:
Integer specifying the object being destroyed.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the call was successful.
If any error occurs, the type of error indicated by the status value.