OpenVAS Scanner 23.23.1
table_driven_lsc.h File Reference
#include <glib.h>
#include <gvm/util/kb.h>

Go to the source code of this file.

Functions

void set_lsc_flag (void)
 Set lsc_flag to 1.
int lsc_has_run (void)
 Get lsc_flag value.
int run_table_driven_lsc (const char *, const char *, const char *, const char *, const char *)
 Publish the necessary data to start a Table driven LSC scan.

Function Documentation

◆ lsc_has_run()

int lsc_has_run ( void )

Get lsc_flag value.

◆ run_table_driven_lsc()

int run_table_driven_lsc ( const char * scan_id,
const char * ip_str,
const char * hostname,
const char * package_list,
const char * os_release )

Publish the necessary data to start a Table driven LSC scan.

If the gather-package-list.nasl plugin was launched, and it generated a valid package list for a supported OS, the table driven LSC scan which is subscribed to the topic will perform a scan an publish the the results to be handle by the sensor/client.

Parameters
scan_idScan Id.
kb
ip_strIP string of host.
hostnameName of host.
Returns
0 on success, less than 0 on error.

◆ set_lsc_flag()

void set_lsc_flag ( void )

Set lsc_flag to 1.