OpenVAS Scanner 23.32.3
scanneraux.c
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
10
11#include "scanneraux.h"
12
13void
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}
void destroy_scan_globals(struct scan_globals *globals)
Definition scanneraux.c:14
Auxiliary structures for scanner.
GHashTable * files_size_translation
Definition scanneraux.h:21
GHashTable * files_translation
Definition scanneraux.h:20
char * scan_id
Definition scanneraux.h:22