OpenVAS Libraries  8.0.3
Macros | Typedefs | Functions | Variables
nasl_func.c File Reference
#include <search.h>
#include <stdlib.h>
#include <string.h>
#include <glib.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"

Macros

#define TRACE_BUF_SZ   255
 

Typedefs

typedef int(* qsortcmp) (const void *, const void *)
 

Functions

nasl_funcinsert_nasl_func (lex_ctxt *lexic, const char *fname, tree_cell *decl_node)
 
tree_celldecl_nasl_func (lex_ctxt *lexic, tree_cell *decl_node)
 
nasl_funcget_func_ref_by_name (lex_ctxt *ctxt, const char *name)
 
tree_cellnasl_func_call (lex_ctxt *lexic, const nasl_func *f, tree_cell *arg_list)
 
tree_cellnasl_return (lex_ctxt *ctxt, tree_cell *retv)
 
void free_func_chain (nasl_func *f)
 

Variables

FILE * nasl_trace_fp
 

Macro Definition Documentation

#define TRACE_BUF_SZ   255

Typedef Documentation

typedef int(* qsortcmp) (const void *, const void *)

Function Documentation

tree_cell* decl_nasl_func ( lex_ctxt lexic,
tree_cell decl_node 
)
void free_func_chain ( nasl_func f)
nasl_func* get_func_ref_by_name ( lex_ctxt ctxt,
const char *  name 
)
nasl_func* insert_nasl_func ( lex_ctxt lexic,
const char *  fname,
tree_cell decl_node 
)
tree_cell* nasl_func_call ( lex_ctxt lexic,
const nasl_func f,
tree_cell arg_list 
)
tree_cell* nasl_return ( lex_ctxt ctxt,
tree_cell retv 
)

Variable Documentation

FILE* nasl_trace_fp