SolarCapture C Bindings User Guide  SF-115721-CD
Draft 2A
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_node_type Struct Reference

Describes a type of node. More...

#include <ext_node.h>

Data Fields

const char * nt_name
 
void * nt_private
 
sc_node_prep_fnnt_prep_fn
 
sc_node_pkts_fnnt_pkts_fn
 
sc_node_add_link_fnnt_add_link_fn
 
sc_node_select_subnode_fnnt_select_subnode_fn
 
sc_node_end_of_stream_fnnt_end_of_stream_fn
 

Detailed Description

Describes a type of node.

This struct describes what functions are responsible for the behaviour of the node.

Field Documentation

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.


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