|
OpenVAS Scanner 23.40.3
|
header for pluginscheduler.c More...
#include <glib.h>

Go to the source code of this file.
Data Structures | |
| struct | scheduler_plugin |
Macros | |
| #define | PLUG_RUNNING ((struct scheduler_plugin *) 0x02) |
Typedefs | |
| typedef struct plugins_scheduler * | plugins_scheduler_t |
Enumerations | |
| enum | plugin_status { PLUGIN_STATUS_UNRUN = 0 , PLUGIN_STATUS_RUNNING , PLUGIN_STATUS_DONE } |
Functions | |
| plugins_scheduler_t | plugins_scheduler_init (const char *, int, int *) |
| struct scheduler_plugin * | plugins_scheduler_next (plugins_scheduler_t) |
| int | plugins_scheduler_count_active (plugins_scheduler_t) |
| void | plugins_scheduler_stop (plugins_scheduler_t) |
| void | plugins_scheduler_free (plugins_scheduler_t) |
header for pluginscheduler.c
Definition in file pluginscheduler.h.
| #define PLUG_RUNNING ((struct scheduler_plugin *) 0x02) |
Definition at line 36 of file pluginscheduler.h.
Referenced by attack_host(), get_next_in_range(), and plugins_next_unrun().
| typedef struct plugins_scheduler* plugins_scheduler_t |
Definition at line 34 of file pluginscheduler.h.
| enum plugin_status |
| Enumerator | |
|---|---|
| PLUGIN_STATUS_UNRUN | |
| PLUGIN_STATUS_RUNNING | |
| PLUGIN_STATUS_DONE | |
Definition at line 20 of file pluginscheduler.h.
| 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().

| 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().
