asrm_set_active_sections()

Set the specified configuration as active.

Synopsis:

#include "asr/asrm.h"
 
int asrm_set_active_sections(asr_module_hdl_t *mod, int num_sections, const char **sections)

Arguments:

mod

A pointer to the module handle.

num_sections

The number of configuration sections.

sections

A pointer to the array of configuration sections.

Library:

libasr

Description:

The asrm_set_active_sections() function sets the vendor configuration sections used by the module. This allows different grammars to be used by the NLAL in different circumstances.

Returns:

0 Success.

-1 An error occurred.