Builds an advice response.
#include "am_web.h" AM_WEB_EXPORT am_status_t am_web_build_advice_response(const am_policy_result_t *policy_result, const char *redirect_url, char **advice_response);
This function takes the following parameter:
Pointer to an am_policy_result_t data type.
See am_policy_result_t for information.
Pointer to a redirect URL.
Pointer to a pointer to the location of the advice response.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the query parameter was found in the URL.
If any other error occurred.