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_port_type_out Struct Reference

Node's Output port structure. More...

#include <sol-flow.h>

Data Fields

uint16_t api_version
 Must match SOL_FLOW_PORT_TYPE_OUT_API_VERSION at runtime. More...
 
int(* connect )(struct sol_flow_node *node, void *data, uint16_t port, uint16_t conn_id)
 Member function issued every time a new connection is made to the port. More...
 
int(* disconnect )(struct sol_flow_node *node, void *data, uint16_t port, uint16_t conn_id)
 Member function issued every time a connection is unmade on the port. More...
 
const struct sol_flow_packet_typepacket_type
 The packet type that the port will deliver. More...
 

Detailed Description

Node's Output port structure.

Field Documentation

uint16_t sol_flow_port_type_out::api_version

Must match SOL_FLOW_PORT_TYPE_OUT_API_VERSION at runtime.

int(* sol_flow_port_type_out::connect)(struct sol_flow_node *node, void *data, uint16_t port, uint16_t conn_id)

Member function issued every time a new connection is made to the port.

int(* sol_flow_port_type_out::disconnect)(struct sol_flow_node *node, void *data, uint16_t port, uint16_t conn_id)

Member function issued every time a connection is unmade on the port.

const struct sol_flow_packet_type* sol_flow_port_type_out::packet_type

The packet type that the port will deliver.


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