asr_context_destroy()

Destroy a conversation context.

Synopsis:

#include "asr/asr.h"
 
int asr_context_destroy(asr_context_hdl_t *chdl)

Arguments:

chdl

A pointer to the context handle.

Library:

libasr

Description:

The asr_context_create() function invokes the context_create() callback function defined in the recognizer interface, asr_recognizer_if.

Returns:

0 Success.

-1 An error occurred; errno is set.