Data Fields | |
| char * | name |
| void(* | backend_init )(void) |
| rte_context_class *(* | context_enum )(unsigned int index, char **errstr) |
| char* rte_backend_class::name |
Name of the backend. This is only used for debugging, not client visible.
| void(* rte_backend_class::backend_init)(void) |
Called once by frontend before context_enum.
| rte_context_class*(* rte_backend_class::context_enum)(unsigned int index, char **errstr) |
Same behaviour as its frontend counterpart. Contexts (rather than the entire backend) can be inactive due to lack of resources for example, then this function must still return a valid rte_context_class->_public->keyword so we can enumerate the context and learn about its inavailability. Then errstr should explain what the problem is and rte_context_class->_new shall be NULL. Use rte_asprintf() to set errstr.
1.4.7