OpenVAS Libraries  8.0.3
Functions
nasl_tree.c File Reference
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "regex.h"
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "exec.h"
#include "nasl_debug.h"

Functions

tree_cellalloc_tree_cell (int lnb, char *s)
 
tree_cellalloc_typed_cell (int typ)
 
tree_cellalloc_RE_cell (int lnb, int t, tree_cell *l, char *re_str)
 
tree_cellalloc_expr_cell (int lnb, int t, tree_cell *l, tree_cell *r)
 
tree_celldup_cell (const tree_cell *tc)
 
void ref_cell (tree_cell *c)
 
void deref_cell (tree_cell *c)
 
char * dump_cell_val (const tree_cell *c)
 
const char * nasl_type_name (int t)
 
void nasl_dump_tree (const tree_cell *c)
 
char * get_line_nb (const tree_cell *c)
 
int nasl_is_leaf (const tree_cell *pc)
 
int cell_type (const tree_cell *c)
 

Function Documentation

tree_cell* alloc_expr_cell ( int  lnb,
int  t,
tree_cell l,
tree_cell r 
)
tree_cell* alloc_RE_cell ( int  lnb,
int  t,
tree_cell l,
char *  re_str 
)
tree_cell* alloc_tree_cell ( int  lnb,
char *  s 
)
tree_cell* alloc_typed_cell ( int  typ)
int cell_type ( const tree_cell c)
void deref_cell ( tree_cell c)
char* dump_cell_val ( const tree_cell c)
tree_cell* dup_cell ( const tree_cell tc)
char* get_line_nb ( const tree_cell c)
void nasl_dump_tree ( const tree_cell c)
int nasl_is_leaf ( const tree_cell pc)
const char* nasl_type_name ( int  t)
void ref_cell ( tree_cell c)