OpenVAS Scanner
22.7.9
scanneraux.h
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
11
#ifndef MISC_SCANNERAUX_H
12
#define MISC_SCANNERAUX_H
13
14
#include <glib.h>
15
#include <gvm/base/nvti.h>
16
#include <gvm/util/kb.h>
17
18
struct
scan_globals
19
{
20
GHashTable *
files_translation
;
21
GHashTable *
files_size_translation
;
22
char
*
scan_id
;
23
pid_t
host_pid
;
24
};
25
26
struct
host_info;
27
28
struct
script_infos
29
{
30
struct
scan_globals
*
globals
;
31
struct
ipc_context
*
ipc_context
;
32
kb_t
key
;
// nvt_kb
33
nvti_t *
nvti
;
34
char
*
oid
;
35
char
*
name
;
36
GHashTable *
udp_data
;
37
struct
in6_addr *
ip
;
38
GSList *
vhosts
;
39
int
standalone
;
40
int
denial_port
;
41
int
alive
;
42
};
43
44
void
45
destroy_scan_globals
(
struct
scan_globals
*);
46
47
#endif
/* not MISC_SCANNERAUX_H */
script_infos::standalone
int standalone
Definition:
scanneraux.h:39
script_infos::ip
struct in6_addr * ip
Definition:
scanneraux.h:37
script_infos
Definition:
scanneraux.h:29
scan_globals::files_size_translation
GHashTable * files_size_translation
Definition:
scanneraux.h:21
script_infos::key
kb_t key
Definition:
scanneraux.h:32
script_infos::udp_data
GHashTable * udp_data
Definition:
scanneraux.h:36
script_infos::ipc_context
struct ipc_context * ipc_context
Definition:
scanneraux.h:31
script_infos::denial_port
int denial_port
Definition:
scanneraux.h:40
script_infos::name
char * name
Definition:
scanneraux.h:35
script_infos::nvti
nvti_t * nvti
Definition:
scanneraux.h:33
scan_globals::host_pid
pid_t host_pid
Definition:
scanneraux.h:23
script_infos::alive
int alive
Definition:
scanneraux.h:41
scan_globals::files_translation
GHashTable * files_translation
Definition:
scanneraux.h:20
script_infos::globals
struct scan_globals * globals
Definition:
scanneraux.h:30
script_infos::oid
char * oid
Definition:
scanneraux.h:34
scan_globals
Definition:
scanneraux.h:19
destroy_scan_globals
void destroy_scan_globals(struct scan_globals *)
Definition:
scanneraux.c:14
script_infos::vhosts
GSList * vhosts
Definition:
scanneraux.h:38
ipc_context
Definition:
ipc.h:32
scan_globals::scan_id
char * scan_id
Definition:
scanneraux.h:22
misc
scanneraux.h
Generated on Wed Feb 7 2024 00:00:00 for OpenVAS Scanner by
1.8.20