45 #ifndef FWPR_PRIVATE_H_ 46 #define FWPR_PRIVATE_H_ Structure representing a decision node in a procedure.
FwPrBool_t PrDummyGuard(FwPrDesc_t prDesc)
Dummy guard which always returns true.
Structure representing an action node in a procedure.
FwPrCounterS1_t nOfGuards
the number of guards in the procedure
FwPrCounterS1_t iAction
index of the action attached to the node
Structure representing the base descriptor of a procedure.
void * prData
the pointer to the data manipulated by the procedure actions and guards
FwPrCounterS1_t nOfActions
the number of actions in the procedure
FwPrCounterS1_t nOfANodes
the number of action nodes in the procedure
FwPrCounterS1_t dest
the index of the destination of the control flow
PrFlow_t * flows
array holding the control flows in the procedure
FwPrCounterS1_t nOfFlows
the number of control flows in the procedure (excluding control flow from initial node) ...
PrBaseDesc_t * prBase
pointer to the base descriptor
Header file to define all constants and types for the procedure module of the FW Profile.
PrANode_t * aNodes
array holding the action nodes in the procedure
An action state in a procedure.
unsigned int FwPrCounterU3_t
Type used for unsigned counters with a "long" range.
FwPrCounterS1_t flowCnt
the counter for the number of control flows added to the procedure
int FwPrBool_t
Type used for booleans (0 is "false" and 1 is "true").
PrDNode_t * dNodes
array holding the decision nodes in the procedure
FwPrCounterS1_t iGuard
the index of the guard associated to the control flow
A decision node in a procedure.
void(* FwPrAction_t)(FwPrDesc_t)
Type for a pointer to a procedure action.
Structure representing a control flow.
FwPrCounterU3_t nodeExecCnt
the node execution counter
FwPrErrCode_t errCode
either 'success' or the code of the last error encountered by the procedure
FwPrErrCode_t
Error codes and function return codes for the procedure functions.
FwPrCounterS1_t outFlowIndex
index of first out-going control flow in control flow array
signed char FwPrCounterS1_t
Type used for signed counters with a "short" range.
Structure representing a procedure descriptor.
FwPrCounterS1_t nOfOutTrans
number of outgoing control flows from the decision node
FwPrAction_t * prActions
the procedure actions
Either the initial or the final node.
FwPrCounterS1_t iFlow
index of out-going control flows
FwPrCounterU3_t prExecCnt
the procedure execution counter
NodeType_t
Enumerated type for the type of a node in a procedure.
FwPrGuard_t * prGuards
the control flow guards in the procedure
FwPrCounterS1_t nOfDNodes
the number of decision nodes in the procedure
FwPrCounterS1_t curNode
the current node of the procedure
FwPrBool_t(* FwPrGuard_t)(FwPrDesc_t)
Type for a pointer to a procedure guard.