|
Soletta™ Framework
|
Flow Parser's client structure. More...
#include <sol-flow-parser.h>
Data Fields | |
| uint16_t | api_version |
| API version. More... | |
| void * | data |
| Client data. More... | |
| int(* | read_file )(void *data, const char *name, struct sol_buffer *buf) |
| Parser's read callback. More... | |
Flow Parser's client structure.
| uint16_t sol_flow_parser_client::api_version |
API version.
| void* sol_flow_parser_client::data |
Client data.
| int(* sol_flow_parser_client::read_file)(void *data, const char *name, struct sol_buffer *buf) |
Parser's read callback.
Called by the parser to load declared types, buf should remain valid until the parser is finished.
| data | Client's data |
| name | File name to read |
| buf | Where to store the file. The buffer will be initialized inside this method. |
0 on success, error code (always negative) otherwise
1.8.6