Main Page   Modules   Data Structures   Data Fields   Related Pages  

Errors


Functions

void rte_error_printf (rte_context *context, const char *templ,...) __attribute__((format(printf, 2, 3)))
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 at Wed Mar 22 23:35:36 2006 for RTE Library by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001