OpenVAS Scanner
7.0.1~git
pluginload.h
Go to the documentation of this file.
1
/* Portions Copyright (C) 2009-2019 Greenbone Networks GmbH
2
* Portions Copyright (C) 2006 Software in the Public Interest, Inc.
3
* Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
4
*
5
* SPDX-License-Identifier: GPL-2.0-only
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* version 2 as published by the Free Software Foundation.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
26
#ifndef _OPENVAS_PLUGINLOAD_H
27
#define _OPENVAS_PLUGINLOAD_H
28
29
#include "../misc/network.h"
30
#include "../misc/scanneraux.h"
31
32
#include <gvm/util/kb.h>
/* for struct kb_item */
33
34
int
35
plugins_init
(
void
);
36
37
int
38
plugins_cache_init
(
void
);
39
40
void
41
init_loading_shm
(
void
);
42
43
void
44
destroy_loading_shm
(
void
);
45
46
int
47
current_loading_plugins
(
void
);
48
49
int
50
total_loading_plugins
(
void
);
51
52
/* From nasl_plugins.c */
53
int
54
nasl_plugin_add
(
char
*,
char
*);
55
56
int
57
nasl_plugin_launch
(
struct
scan_globals
*,
struct
in6_addr *, GSList *, kb_t,
58
const
char
*);
59
60
#endif
plugins_init
int plugins_init(void)
Definition:
pluginload.c:376
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:151
total_loading_plugins
int total_loading_plugins(void)
Definition:
pluginload.c:195
current_loading_plugins
int current_loading_plugins(void)
Definition:
pluginload.c:184
destroy_loading_shm
void destroy_loading_shm(void)
Definition:
pluginload.c:166
init_loading_shm
void init_loading_shm(void)
Definition:
pluginload.c:133
plugins_cache_init
int plugins_cache_init(void)
Main function for nvticache initialization without loading the plugins.
Definition:
pluginload.c:359
scan_globals
Definition:
scanneraux.h:32
nasl_plugin_add
int nasl_plugin_add(char *, char *)
Add one .nasl plugin to the plugin list.
Definition:
nasl_plugins.c:99
src
pluginload.h
Generated on Sat May 23 2020 00:00:00 for OpenVAS Scanner by
1.8.17