|
Soletta™ Framework
|
Resolver's structure. More...
#include <sol-flow-resolver.h>
Data Fields | |
| uint16_t | api_version |
| API version number. More... | |
| void * | data |
Resolver's context data (will be provided to resolve) More... | |
| const char * | name |
| Resolver's name (useful for logging) More... | |
| int(* | resolve )(void *data, const char *id, struct sol_flow_node_type const **type, struct sol_flow_node_named_options *named_opts) |
| Resolution routine. More... | |
Resolver's structure.
| uint16_t sol_flow_resolver::api_version |
API version number.
| void* sol_flow_resolver::data |
Resolver's context data (will be provided to resolve)
| const char* sol_flow_resolver::name |
Resolver's name (useful for logging)
| int(* sol_flow_resolver::resolve)(void *data, const char *id, struct sol_flow_node_type const **type, struct sol_flow_node_named_options *named_opts) |
Resolution routine.
That is the routine used to resolve id into a node type.
| data | Contextual data of this Resolver |
| id | Id that needs to be resolved |
| type | Where to return the node type of id |
| named_opts | Options of the found node type if available |
0 in case of success, error code (always negative) otherwise
1.8.6