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 Structures | Macros | Typedefs | Functions
sol-flow-parser.h File Reference

These routines are used for Soletta flow language (flow based programming) parsing. More...

#include <stdbool.h>
#include "sol-buffer.h"
#include "sol-flow.h"
#include "sol-flow-resolver.h"

Go to the source code of this file.

Data Structures

struct  sol_flow_parser_client
 Flow Parser's client structure. More...
 

Macros

#define SOL_FLOW_PARSER_CLIENT_API_VERSION   (1)
 

Typedefs

typedef struct sol_flow_parser sol_flow_parser
 Flow Parser handle. More...
 
typedef struct
sol_flow_parser_client 
sol_flow_parser_client
 Flow Parser's client structure. More...
 

Functions

struct sol_flow_node_typesol_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. More...
 
struct sol_flow_node_typesol_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. More...
 
struct sol_flow_node_typesol_flow_parse_string (struct sol_flow_parser *parser, const char *str, const char *filename)
 Similar to sol_flow_parse_buffer but accepts C string. More...
 
struct sol_flow_node_typesol_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. More...
 
int sol_flow_parser_del (struct sol_flow_parser *parser)
 Destroy a sol_flow_parser instance. More...
 
struct sol_flow_parsersol_flow_parser_new (const struct sol_flow_parser_client *client, const struct sol_flow_resolver *resolver)
 Creates a new instance of sol_flow_parser. More...
 

Detailed Description

These routines are used for Soletta flow language (flow based programming) parsing.

Macro Definition Documentation

#define SOL_FLOW_PARSER_CLIENT_API_VERSION   (1)