OpenVAS Scanner  22.7.9
plugs_req.h
Go to the documentation of this file.
1 /* SPDX-FileCopyrightText: 2023 Greenbone AG
2  * SPDX-FileCopyrightText: 2006 Software in the Public Interest, Inc.
3  * SPDX-FileCopyrightText: 1998-2006 Tenable Network Security, Inc.
4  *
5  * SPDX-License-Identifier: GPL-2.0-only
6  */
7 
13 #ifndef OPENVAS_PLUGS_REQ_H
14 #define OPENVAS_PLUGS_REQ_H
15 
16 #include <gvm/util/kb.h> /* for struct kb_item */
17 
18 char *
19 requirements_plugin (kb_t, nvti_t *);
20 
21 int
22 mandatory_requirements_met (kb_t, nvti_t *);
23 
24 #endif
requirements_plugin
char * requirements_plugin(kb_t, nvti_t *)
Determine if the plugin requirements are met.
Definition: plugs_req.c:251
mandatory_requirements_met
int mandatory_requirements_met(kb_t, nvti_t *)
Check whether mandatory requirements for plugin are met.
Definition: plugs_req.c:234