OpenVAS Scanner  22.7.9
pluginload.h
Go to the documentation of this file.
1 /* SPDX-FileCopyrightText: 2023 Greenbone AG
2  * SPDX-FileCopyrightText: 2006 Software in the Public Interest, Inc.
3  * SPDX-FileCopyrightText: 1998-2006 Tenable Network Security, Inc.
4  *
5  * SPDX-License-Identifier: GPL-2.0-only
6  */
7 
13 #ifndef OPENVAS_PLUGINLOAD_H
14 #define OPENVAS_PLUGINLOAD_H
15 
16 #include "../misc/network.h"
17 #include "../misc/scanneraux.h"
18 
19 #include <gvm/util/kb.h> /* for struct kb_item */
20 
21 int
22 plugins_init (void);
23 
24 int
25 plugins_cache_init (void);
26 
27 void
28 init_loading_shm (void);
29 
30 void
31 destroy_loading_shm (void);
32 
33 int
35 
36 int
38 
39 /* From nasl_plugins.c */
40 int
41 nasl_plugin_add (const char *, char *);
42 int
43 nasl_file_check (const char *, const char *);
44 
45 int
46 nasl_plugin_launch (struct scan_globals *, struct in6_addr *, GSList *, kb_t,
47  const char *);
48 
49 #endif
plugins_init
int plugins_init(void)
main function for loading all the plugins
Definition: pluginload.c:372
nasl_plugin_launch
int nasl_plugin_launch(struct scan_globals *, struct in6_addr *, GSList *, kb_t, const char *)
Launch a NASL plugin.
Definition: nasl_plugins.c:166
total_loading_plugins
int total_loading_plugins(void)
Definition: pluginload.c:182
nasl_file_check
int nasl_file_check(const char *, const char *)
Check a single .nasl/.inc file.
Definition: nasl_plugins.c:83
current_loading_plugins
int current_loading_plugins(void)
Definition: pluginload.c:171
destroy_loading_shm
void destroy_loading_shm(void)
Definition: pluginload.c:153
init_loading_shm
void init_loading_shm(void)
Definition: pluginload.c:120
nasl_plugin_add
int nasl_plugin_add(const char *, char *)
Add one .nasl plugin to the plugin list.
Definition: nasl_plugins.c:120
plugins_cache_init
int plugins_cache_init(void)
Main function for nvticache initialization without loading the plugins.
Definition: pluginload.c:348
scan_globals
Definition: scanneraux.h:19