OpenVAS Libraries  4.0+rc3.SVN
Defines | Functions | Variables
nasl/nasl.c File Reference
#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "hosts_gatherer.h"
#include "kb.h"
#include "network.h"
#include "system.h"
#include "nasl.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 <glib.h>

Defines

#define MAP_FAILED   ((void*)-1)

Functions

char * nasl_version ()
int execute_instruction (struct arglist *, char *)
void exit_nasl (struct arglist *, int)
void sighandler (int s)
struct arglistinit (char *hostname, struct in6_addr ip)
int main (int argc, char **argv)
 Main of the standalone nasl interpretor.

Variables

int safe_checks_only = 0
FILE * nasl_trace_fp

Detailed Description

Source of the standalone NASL interpreter of OpenVAS.


Function Documentation

int main ( int  argc,
char **  argv 
)

Main of the standalone nasl interpretor.

Returns:
The number of times a NVT was launched (should be (number of targets) * (number of NVTS provided)).