Main Page   Modules   Data Structures   Data Fields   Related Pages  

Errors


Functions

void rte_error_printf (rte_context *context, const char *templ,...)
char * rte_errstr (rte_context *context)

Function Documentation

void rte_error_printf rte_context   context,
const char *    templ,
...   
 

Parameters:
context  Initialized rte_context as returned by rte_context_new().
templ  See printf().
...  See printf().
Store an error description in the context which can be retrieved with rte_errstr(). This is primarily intended for use by RTE backends.

char* rte_errstr rte_context   context
 

Parameters:
context  Initialized rte_context as returned by rte_context_new().
When a RTE function failed you can use this function to get a verbose description of the failure cause, if available.

Returns:
Static pointer, string not to be freed, describing the error. The pointer remains valid until the next call of a RTE function for this context or any of its codecs.


Generated on Wed Aug 11 16:40:14 2004 for RTE Library by doxygen1.2.18