OpenVAS Scanner 21.4.1
Functions
exec.h File Reference
#include "nasl_lex_ctxt.h"

Go to the source code of this file.

Functions

tree_cellnasl_exec (lex_ctxt *, tree_cell *)
 Execute a parse tree. More...
 
long int cell_cmp (lex_ctxt *, tree_cell *, tree_cell *)
 
tree_cellcell2atom (lex_ctxt *, tree_cell *)
 

Function Documentation

◆ cell2atom()

tree_cell * cell2atom ( lex_ctxt lexic,
tree_cell c1 
)
Returns
A 'referenced' cell.

◆ cell_cmp()

long int cell_cmp ( lex_ctxt lexic,
tree_cell c1,
tree_cell c2 
)

◆ nasl_exec()

tree_cell * nasl_exec ( lex_ctxt lexic,
tree_cell st 
)

Execute a parse tree.

Todo:
There is a lot of duplicated code in following cases, could be refactored.