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
13
void
14
destroy_scan_globals
(
struct
scan_globals
*globals)
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
}
destroy_scan_globals
void destroy_scan_globals(struct scan_globals *globals)
Definition
scanneraux.c:14
scanneraux.h
Auxiliary structures for scanner.
scan_globals
Definition
scanneraux.h:19
scan_globals::files_size_translation
GHashTable * files_size_translation
Definition
scanneraux.h:21
scan_globals::files_translation
GHashTable * files_translation
Definition
scanneraux.h:20
scan_globals::scan_id
char * scan_id
Definition
scanneraux.h:22
misc
scanneraux.c
Generated on
for OpenVAS Scanner by
1.15.0