OpenVAS Scanner  7.0.1~git
pluginscheduler.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 PLUGINSCHEDULER_H
27 #define PLUGINSCHEDULER_H
28 
29 #include <glib.h>
30 
31 struct plugins_scheduler;
32 
34 {
38 };
39 
41 {
42  char *oid;
43  GSList *deps;
45 };
46 
48 
49 #define PLUG_RUNNING ((struct scheduler_plugin *) 0x02)
50 
52 plugins_scheduler_init (const char *, int, int, int *);
53 
55 
57 
59 
61 
62 #endif
plugin_status
struct scheduler_plugin * plugins_scheduler_next(plugins_scheduler_t)
void plugins_scheduler_stop(plugins_scheduler_t)
struct plugins_scheduler * plugins_scheduler_t
void plugins_scheduler_free(plugins_scheduler_t)
enum plugin_status running_state
plugins_scheduler_t plugins_scheduler_init(const char *, int, int, int *)
int plugins_scheduler_count_active(plugins_scheduler_t)