OpenVAS Scanner
7.0.1~git
|
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, 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 49 of file pluginscheduler.h.
typedef struct plugins_scheduler* plugins_scheduler_t |
Definition at line 47 of file pluginscheduler.h.
enum plugin_status |
Enumerator | |
---|---|
PLUGIN_STATUS_UNRUN | |
PLUGIN_STATUS_RUNNING | |
PLUGIN_STATUS_DONE |
Definition at line 33 of file pluginscheduler.h.
int plugins_scheduler_count_active | ( | plugins_scheduler_t | ) |
Definition at line 341 of file pluginscheduler.c.
References ACT_END, ACT_INIT, and plugins_scheduler::list.
Referenced by attack_host().
void plugins_scheduler_free | ( | plugins_scheduler_t | ) |
Definition at line 534 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 * | , |
int | , | ||
int | , | ||
int * | |||
) |
Definition at line 313 of file pluginscheduler.c.
References ACT_END, ACT_GATHER_INFO, check_dependency_cycles(), plugins_scheduler::list, plugins_scheduler_enable(), and plugins_scheduler_free().
Referenced by attack_network().
struct scheduler_plugin* plugins_scheduler_next | ( | plugins_scheduler_t | ) |
Definition at line 442 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 | ) |
Definition at line 499 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().