Initializes one specific instance of service for policy evaluation.
#include "am_policy.h" AM_EXPORT am_status_t am_policy_service_init(const char *service_name, const char *instance_name, am_resource_traits_t rsrc_traits, am_properties_t service_config_properties, am_policy_t *policy_handle_ptr);
This function takes the following parameters:
A name for the policy service.
A name for the policy service instance.
Resource traits - see description of am_resource_traits_t in the structure section for more information.
The properties to initialize the policy service with.
Handle to the policy service created.
This function returns am_status_t with one of the following values:
If the call was successful.
If any error occurs, the type of error indicated by the status value.