![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Issue 3
|
Describes a type of node. More...
#include <ext_node.h>
Data Fields | |
const char * | nt_name |
void * | nt_private |
sc_node_prep_fn * | nt_prep_fn |
sc_node_pkts_fn * | nt_pkts_fn |
sc_node_add_link_fn * | nt_add_link_fn |
sc_node_select_subnode_fn * | nt_select_subnode_fn |
sc_node_end_of_stream_fn * | nt_end_of_stream_fn |
Describes a type of node.
This struct describes what functions are responsible for the behaviour of the node.
sc_node_add_link_fn* nt_add_link_fn |
(Optional) Add an outgoing link.
sc_node_end_of_stream_fn* nt_end_of_stream_fn |
(Optional) Handle end-of-stream signal.
const char* nt_name |
Name of the node type (set from sc_node_factory.nf_name).
sc_node_pkts_fn* nt_pkts_fn |
(Optional) Handle incoming packets.
sc_node_prep_fn* nt_prep_fn |
(Optional) Prepare for packet processing.
void* nt_private |
Private state for the implementation.
sc_node_select_subnode_fn* nt_select_subnode_fn |
(Optional) Select target node for an incoming link.