OpenVAS Scanner  7.0.0~git
pluginlaunch.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 __PLUGINLAUNCH_H__
27 #define __PLUGINLAUNCH_H__
28 
29 #include "pluginload.h" /* for struct pl_class_t */
30 #include "pluginscheduler.h" /* for struct plugins_scheduler_t */
31 
32 void
33 pluginlaunch_init (const char *);
34 void pluginlaunch_wait (kb_t);
36 
37 void
39 
40 int
41 plugin_launch (struct scan_globals *, struct scheduler_plugin *,
42  struct in6_addr *, GSList *, kb_t, nvti_t *);
43 
44 void
46 void
48 
49 int
50 wait_for_children (void);
51 #endif
plugin_launch
int plugin_launch(struct scan_globals *, struct scheduler_plugin *, struct in6_addr *, GSList *, kb_t, nvti_t *)
Definition: pluginlaunch.c:343
pluginlaunch_stop
void pluginlaunch_stop()
Definition: pluginlaunch.c:302
scheduler_plugin
Definition: pluginscheduler.h:40
pluginload.h
pluginload.c header.
wait_for_children
int wait_for_children(void)
pluginlaunch_wait
void pluginlaunch_wait(kb_t)
Waits and 'pushes' processes until num_running_processes is 0.
Definition: pluginlaunch.c:370
scan_globals
Definition: scanneraux.h:32
pluginlaunch_wait_for_free_process
void pluginlaunch_wait_for_free_process(kb_t)
Waits and 'pushes' processes until the number of running processes has changed.
Definition: pluginlaunch.c:403
pluginlaunch_enable_parallel_checks
void pluginlaunch_enable_parallel_checks(void)
Definition: pluginlaunch.c:296
pluginscheduler.h
header for pluginscheduler.c
pluginlaunch_init
void pluginlaunch_init(const char *)
Definition: pluginlaunch.c:265
pluginlaunch_disable_parallel_checks
void pluginlaunch_disable_parallel_checks(void)
Definition: pluginlaunch.c:290