OpenVAS Scanner 23.23.1
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
12
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
21int
22plugins_init (void);
23
24int
26
27void
28init_loading_shm (void);
29
30void
32
33int
35
36int
38
39/* From nasl_plugins.c */
40int
41nasl_plugin_add (const char *, char *);
42int
43nasl_file_check (const char *, const char *);
44
45int
46nasl_plugin_launch (struct scan_globals *, struct in6_addr *, GSList *, kb_t,
47 const char *);
48
49#endif
Header file for module network.
int total_loading_plugins(void)
Definition pluginload.c:182
int plugins_init(void)
main function for loading all the plugins
Definition pluginload.c:372
int nasl_file_check(const char *, const char *)
Check a single .nasl/.inc file.
Definition nasl_plugins.c:83
int nasl_plugin_add(const char *, char *)
Add one .nasl plugin to the plugin list.
Definition nasl_plugins.c:120
int nasl_plugin_launch(struct scan_globals *, struct in6_addr *, GSList *, kb_t, const char *)
Launch a NASL plugin.
Definition nasl_plugins.c:166
void init_loading_shm(void)
Definition pluginload.c:120
void destroy_loading_shm(void)
Definition pluginload.c:153
int current_loading_plugins(void)
Definition pluginload.c:171
int plugins_cache_init(void)
Main function for nvticache initialization without loading the plugins.
Definition pluginload.c:348
Auxiliary structures for scanner.
Definition scanneraux.h:19