62 #ifndef SOL_NO_API_VERSION
63 #define SOL_FLOW_PARSER_CLIENT_API_VERSION (1)
121 const char *filename);
138 const char *filename);
152 const char *metatype,
154 const char *filename);
171 const char *metatype,
173 const char *filename);
These routines are used for Soletta flow language's .conf file entries resolving. ...
struct sol_flow_node_type * sol_flow_parse_string_metatype(struct sol_flow_parser *parser, const char *metatype, const char *str, const char *filename)
Similar to sol_flow_parse_buffer_metatype but accepts C string.
uint16_t api_version
API version.
Definition: sol-flow-parser.h:64
struct sol_flow_parser sol_flow_parser
Flow Parser handle.
Definition: sol-flow-parser.h:56
void * data
Client data.
Definition: sol-flow-parser.h:66
Resolver's structure.
Definition: sol-flow-resolver.h:54
struct sol_flow_parser * sol_flow_parser_new(const struct sol_flow_parser_client *client, const struct sol_flow_resolver *resolver)
Creates a new instance of sol_flow_parser.
These are routines that Soletta provides for its buffer implementation.
struct sol_flow_node_type * sol_flow_parse_buffer_metatype(struct sol_flow_parser *parser, const char *metatype, const struct sol_buffer *buf, const char *filename)
Parsers a buf of a given metatype and returns the resulting node type.
The node type describes the capabilities and operations of a node.
Definition: sol-flow.h:796
Flow Parser's client structure.
Definition: sol-flow-parser.h:61
int(* read_file)(void *data, const char *name, struct sol_buffer *buf)
Parser's read callback.
Definition: sol-flow-parser.h:81
struct sol_flow_node_type * sol_flow_parse_buffer(struct sol_flow_parser *parser, const struct sol_buffer *buf, const char *filename)
Parses a flow description contained in buf and returns the resulting node type.
These routines are used for Soletta flows manipulation.
int sol_flow_parser_del(struct sol_flow_parser *parser)
Destroy a sol_flow_parser instance.
struct sol_flow_node_type * sol_flow_parse_string(struct sol_flow_parser *parser, const char *str, const char *filename)
Similar to sol_flow_parse_buffer but accepts C string.
A sol_buffer is a dynamic array, that can be resized if needed.
Definition: sol-buffer.h:130
struct sol_flow_parser_client sol_flow_parser_client
Flow Parser's client structure.