OpenVAS Libraries
8.0.3
|
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glib.h>
#include "kb.h"
#include "plugutils.h"
#include "network.h"
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "nasl_debug.h"
#include "nasl_scanner_glue.h"
#include "../base/nvticache.h"
#include "../misc/prefs.h"
Macros | |
#define | NASL_DEBUG 0 |
Typedefs | |
typedef void(* | proto_post_something_t) (const char *, struct arglist *, int, const char *, const char *) |
typedef void(* | post_something_t) (const char *, struct arglist *, int, const char *) |
This file contains all the functions that make the "glue" between as NASL script and openvassd. (script_*(), kb(), scanner_*())
#define NASL_DEBUG 0 |
typedef void(* post_something_t) (const char *, struct arglist *, int, const char *) |
Function is used when the script wants to report a problem back to openvassd.
typedef void(* proto_post_something_t) (const char *, struct arglist *, int, const char *, const char *) |
Function is used when the script wants to report a problem back to openvassd.
Return the OID of the current script.
[in] | lexic | NASL lexer. |
If the plugin is a port scanner, it needs to report the list of open ports back to openvas scanner, and it also needs to know which ports are to be scanned.
Send a security message to the client.
[in] | lexic | NASL lexer. |