Add entries to the specified context.
#include "asr/asr.h"
int asr_context_add_entries(asr_context_hdl_t *chdl, cfg_item_t *cfg, const char *slot_identifier, asr_slot_entry_t *slot_entry, int num_slot_entries)
A pointer to the context handle.
A pointer to the configuration associated with the context.
A pointer to the slot identifier (the position of the new entry).
An array of slot entries.
The size of the array of slot entries.
The asr_context_add_entries() function invokes the context_add_entries() callback function defined in the recognizer interface, asr_recognizer_if.
0 Success.
<0 An error occurred.