|
OpenVAS Scanner 23.32.3
|
Tells openvas which plugin should be executed next. More...
#include "pluginscheduler.h"#include "../misc/nvt_categories.h"#include "../misc/plugutils.h"#include "pluginlaunch.h"#include "pluginload.h"#include <glib.h>#include <gvm/base/prefs.h>#include <gvm/util/nvticache.h>#include <malloc.h>#include <string.h>
Go to the source code of this file.
Data Structures | |
| struct | plugins_scheduler |
Macros | |
| #define | G_LOG_DOMAIN "sd main" |
| GLib log domain. | |
Tells openvas which plugin should be executed next.
Definition in file pluginscheduler.c.
| #define G_LOG_DOMAIN "sd main" |
GLib log domain.
Definition at line 30 of file pluginscheduler.c.
|
static |
Definition at line 263 of file pluginscheduler.c.
References ACT_END, ACT_INIT, find_plugin_in_deps(), plugins_scheduler::list, name, and oid.
Referenced by plugins_scheduler_init().


|
static |
Definition at line 236 of file pluginscheduler.c.
References scheduler_plugin::deps, and find_plugin_in_deps().
Referenced by check_dependency_cycles(), and find_plugin_in_deps().


|
static |
Definition at line 376 of file pluginscheduler.c.
References ACT_DENIAL, ACT_FLOOD, ACT_KILL_HOST, ACT_SCANNER, plugins_scheduler::list, PLUG_RUNNING, pluginlaunch_disable_parallel_checks(), pluginlaunch_enable_parallel_checks(), and plugins_next_unrun().
Referenced by plugins_scheduler_next().


|
static |
Definition at line 45 of file pluginscheduler.c.
References ACT_END, ACT_INIT, scheduler_plugin::deps, plugins_scheduler::list, name, oid, scheduler_plugin::oid, plugin_add(), PLUGIN_STATUS_UNRUN, and scheduler_plugin::running_state.
Referenced by plugin_add(), and plugins_scheduler_enable().


|
static |
Definition at line 334 of file pluginscheduler.c.
References scheduler_plugin::deps, PLUG_RUNNING, PLUGIN_STATUS_DONE, PLUGIN_STATUS_RUNNING, PLUGIN_STATUS_UNRUN, plugins_next_unrun(), and scheduler_plugin::running_state.
Referenced by get_next_in_range(), and plugins_next_unrun().


| int plugins_scheduler_count_active | ( | plugins_scheduler_t | sched | ) |
Definition at line 323 of file pluginscheduler.c.
References ACT_END, ACT_INIT, and plugins_scheduler::list.
Referenced by attack_host().

|
static |
Definition at line 200 of file pluginscheduler.c.
References oid, plugin_add(), and plugins_scheduler_fill_deps().
Referenced by plugins_scheduler_init().


|
static |
Definition at line 153 of file pluginscheduler.c.
References ACT_END, ACT_INIT, scheduler_plugin::deps, plugins_scheduler::list, and scheduler_plugin::oid.
Referenced by plugins_scheduler_enable().

| void plugins_scheduler_free | ( | plugins_scheduler_t | sched | ) |
Definition at line 518 of file pluginscheduler.c.
References ACT_END, ACT_INIT, plugins_scheduler::list, and scheduler_plugin_free().
Referenced by attack_host(), attack_network(), and plugins_scheduler_init().


| plugins_scheduler_t plugins_scheduler_init | ( | const char * | plugins_list, |
| int | autoload, | ||
| int * | error ) |
Definition at line 302 of file pluginscheduler.c.
References check_dependency_cycles(), plugins_scheduler_enable(), and plugins_scheduler_free().
Referenced by attack_network().


| struct scheduler_plugin * plugins_scheduler_next | ( | plugins_scheduler_t | h | ) |
Definition at line 426 of file pluginscheduler.c.
References ACT_ATTACK, ACT_END, ACT_FLOOD, ACT_GATHER_INFO, ACT_INIT, ACT_SCANNER, ACT_SETTINGS, get_next_in_range(), and scheduler_phase_cleanup().
Referenced by attack_host().


| void plugins_scheduler_stop | ( | plugins_scheduler_t | sched | ) |
Definition at line 483 of file pluginscheduler.c.
References ACT_END, ACT_INIT, plugins_scheduler::list, PLUGIN_STATUS_DONE, scheduler_plugin::running_state, and plugins_scheduler::stopped.
Referenced by attack_host().

|
static |
Definition at line 401 of file pluginscheduler.c.
References scheduler_plugin::deps, plugins_scheduler::list, and scheduler_plugin::oid.
Referenced by plugins_scheduler_next().

|
static |
Definition at line 505 of file pluginscheduler.c.
References scheduler_plugin::deps, and scheduler_plugin::oid.
Referenced by plugins_scheduler_free().
