Canonicalize the given resource name.
#include "am_policy.h" AM_EXPORT void am_policy_resource_canonicalize(const char *resource, char **c_resource);
This function takes the following parameters:
Name of resource to be canonicalized.
Pointer to location where the canonicalized string will be placed.
The value returned should be freed using free().