OpenVAS Scanner 23.40.3
scanneraux.h File Reference

Auxiliary structures for scanner. More...

#include <glib.h>
#include <gvm/base/nvti.h>
#include <gvm/util/kb.h>
Include dependency graph for scanneraux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  scan_globals
struct  script_infos

Functions

void destroy_scan_globals (struct scan_globals *)

Detailed Description

Auxiliary structures for scanner.

Definition in file scanneraux.h.

Function Documentation

◆ destroy_scan_globals()

void destroy_scan_globals ( struct scan_globals * globals)

Definition at line 14 of file scanneraux.c.

15{
16 if (globals == NULL)
17 return;
18
19 g_free (globals->scan_id);
20
21 if (globals->files_translation)
22 g_hash_table_destroy (globals->files_translation);
23
24 if (globals->files_size_translation)
25 g_hash_table_destroy (globals->files_size_translation);
26
27 g_free (globals);
28 globals = NULL;
29}
GHashTable * files_size_translation
Definition scanneraux.h:21
GHashTable * files_translation
Definition scanneraux.h:20
char * scan_id
Definition scanneraux.h:22

References scan_globals::files_size_translation, scan_globals::files_translation, and scan_globals::scan_id.

Referenced by openvas().

Here is the caller graph for this function: