OpenVAS Scanner 23.23.1
lint.h File Reference
#include "nasl_lex_ctxt.h"

Go to the source code of this file.

Enumerations

enum  nasl_lint_feature_flags { NLFF_NONE = 0 , NLFF_STRICT_INCLUDES = 1 }

Functions

void nasl_lint_feature_flags (int flags)
tree_cellnasl_lint (lex_ctxt *lexic, tree_cell *st)
 Search for errors in a nasl script.

Enumeration Type Documentation

◆ nasl_lint_feature_flags

Enumerator
NLFF_NONE 
NLFF_STRICT_INCLUDES 

Function Documentation

◆ nasl_lint()

tree_cell * nasl_lint ( lex_ctxt * lexic,
tree_cell * st )

Search for errors in a nasl script.

Parameters
[in]lexicnasl context.
[in]ststructure tree of a nasl script.
Returns
FAKE_CELL if no error was found, otherwise NULL or tree_cell which has number of errors as x.i_val.

◆ nasl_lint_feature_flags()

void nasl_lint_feature_flags ( int flags)