OpenVAS Scanner  5.1.3
pluginload.h
Go to the documentation of this file.
1 /* OpenVAS
2 * $Id$
3 * Description: pluginload.c header.
4 *
5 * Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
6 * - Tim Brown <mailto:timb@openvas.org> (Initial fork)
7 * - Laban Mwangi <mailto:labanm@openvas.org> (Renaming work)
8 * - Tarik El-Yassem <mailto:tarik@openvas.org> (Headers section)
9 *
10 * Copyright:
11 * Portions Copyright (C) 2006 Software in the Public Interest, Inc.
12 * Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2,
16 * as published by the Free Software Foundation
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 *
27 *
28 */
29 
30 
31 #ifndef _OPENVAS_PLUGINLOAD_H
32 #define _OPENVAS_PLUGINLOAD_H
33 
34 #include <openvas/misc/arglists.h> /* for struct arglist */
35 #include <openvas/base/kb.h> /* for struct kb_item */
36 #include <openvas/misc/network.h>
37 
38 int
39 plugins_init (void);
40 
41 void
42 init_loading_shm (void);
43 
44 void
45 destroy_loading_shm (void);
46 
47 int
49 
50 int
52 
53 /* From nasl_plugins.c */
54 int
55 nasl_plugin_add (char *, char *);
56 
57 int
58 nasl_plugin_launch (struct arglist *, struct host_info *, kb_t, char *,
59  const char *, int);
60 
61 #endif
void init_loading_shm(void)
Definition: pluginload.c:132
int nasl_plugin_add(char *, char *)
The nasl - plugin class. Loads or launches nasl- plugins.
Definition: nasl_plugins.c:73
int nasl_plugin_launch(struct arglist *, struct host_info *, kb_t, char *, const char *, int)
Launch a NASL plugin.
Definition: nasl_plugins.c:145
int total_loading_plugins(void)
Definition: pluginload.c:194
int current_loading_plugins(void)
Definition: pluginload.c:183
int plugins_init(void)
Definition: pluginload.c:358
void destroy_loading_shm(void)
Definition: pluginload.c:165