Determine whether the current result is a help request.
#include "asr/asrm.h"
int asrm_is_help_request(asr_result_t *result, cfg_item_t *opt_help_section, asr_result_action_t *ret, int perform)
A pointer to the result structure.
A pointer to the help configuration section.
The action to take.
A flag to indicate whether to take action on the result.
The asrm_is_help_request() function determines whether the specified result is a help request. If it is, the function sets ret to the appropriate action code. If perform is nonzero, the asrp_active_help() function is invoked.
1 The result is a cancellation request. The res parameter is set to ASR_RECOGNITION_RESTART.
0 The result is not a cancellation request.