OpenVAS Scanner
5.1.3
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <regex.h>
#include <openvas/misc/prefs.h>
#include <openvas/base/nvticache.h>
#include "pluginscheduler.h"
#include "plugs_req.h"
Go to the source code of this file.
Functions | |
int | kb_get_port_state_proto (kb_t, int, char *) |
struct arglist * | requirements_common_ports (struct scheduler_plugin *plugin1, struct scheduler_plugin *plugin2) |
Returns <port> if the lists of the required ports between. More... | |
int | mandatory_requirements_met (kb_t kb, struct scheduler_plugin *plugin) |
Check whether mandatory requirements for plugin are met. More... | |
char * | requirements_plugin (kb_t kb, struct scheduler_plugin *plugin) |
Determine if the plugin requirements are met. More... | |
int kb_get_port_state_proto | ( | kb_t | , |
int | , | ||
char * | |||
) |
int mandatory_requirements_met | ( | kb_t | kb, |
struct scheduler_plugin * | plugin | ||
) |
Check whether mandatory requirements for plugin are met.
kb | The arglist knowledge base with all keys. |
plugin | The arglist plugin. |
Definition at line 299 of file plugs_req.c.
References scheduler_plugin::oid.
struct arglist* requirements_common_ports | ( | struct scheduler_plugin * | plugin1, |
struct scheduler_plugin * | plugin2 | ||
) |
Returns <port> if the lists of the required ports between.
plugin 1 and plugin 2 have at least one port in common.
Definition at line 95 of file plugs_req.c.
References scheduler_plugin::oid.
char* requirements_plugin | ( | kb_t | kb, |
struct scheduler_plugin * | plugin | ||
) |
Determine if the plugin requirements are met.
Definition at line 320 of file plugs_req.c.
References scheduler_plugin::oid.