Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_flow_parser_client Struct Reference

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...
 

Detailed Description

Flow Parser's client structure.

Field Documentation

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.

Parameters
dataClient's data
nameFile name to read
bufWhere to store the file. The buffer will be initialized inside this method.
Returns
0 on success, error code (always negative) otherwise

The documentation for this struct was generated from the following file: