OpenVAS Scanner 23.23.1
pluginlaunch.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_PLUGINLAUNCH_H
14#define OPENVAS_PLUGINLAUNCH_H
15
16#include "pluginload.h" /* for struct pl_class_t */
17#include "pluginscheduler.h" /* for struct plugins_scheduler_t */
18
22#define ERR_CANT_FORK -2
26#define ERR_NO_FREE_SLOT -99
27
28void
29pluginlaunch_init (const char *);
30void pluginlaunch_wait (kb_t, kb_t);
32
33void
35
36int
38 struct in6_addr *, GSList *, kb_t, kb_t, nvti_t *, int *);
39
40void
42void
44
45int
47#endif
void pluginlaunch_enable_parallel_checks(void)
Definition pluginlaunch.c:357
int wait_for_children(void)
void pluginlaunch_init(const char *)
Definition pluginlaunch.c:324
void pluginlaunch_stop(void)
Definition pluginlaunch.c:363
int plugin_launch(struct scan_globals *, struct scheduler_plugin *, struct in6_addr *, GSList *, kb_t, kb_t, nvti_t *, int *)
Start a plugin.
Definition pluginlaunch.c:480
void pluginlaunch_wait_for_free_process(kb_t, kb_t)
Waits and 'pushes' processes until the number of running processes has changed.
Definition pluginlaunch.c:550
void pluginlaunch_disable_parallel_checks(void)
Definition pluginlaunch.c:351
void pluginlaunch_wait(kb_t, kb_t)
Waits and 'pushes' processes until num_running_processes is 0.
Definition pluginlaunch.c:517
pluginload.c header.
header for pluginscheduler.c
Definition scanneraux.h:19
Definition pluginscheduler.h:28