OpenVAS Scanner  5.1.3
plugs_req.h
Go to the documentation of this file.
1 /* OpenVAS
2 * $Id$
3 * Description: plugs_req.c header.
4 *
5 * Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
6 * - Tim Brown <mailto:timb@openvas.org> (Initial fork)
7 * - Laban Mwangi <mailto:labanm@openvas.org> (Renaming work)
8 * - Tarik El-Yassem <mailto:tarik@openvas.org> (Headers section)
9 *
10 * Copyright:
11 * Portions Copyright (C) 2006 Software in the Public Interest, Inc.
12 * Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2,
16 * as published by the Free Software Foundation
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 *
27 *
28 */
29 
30 
31 #ifndef PLUGINS_REQUIREMENTS_H__
32 #define PLUGINS_REQUIREMENTS_H__
33 
34 #include <openvas/base/kb.h> /* for struct kb_item */
35 #include <openvas/misc/arglists.h> /* for struct arglist */
36 
37 char *requirements_plugin (kb_t, struct scheduler_plugin *);
38 
39 int mandatory_requirements_met (kb_t, struct scheduler_plugin *);
40 
41 struct arglist *requirements_common_ports (struct scheduler_plugin *,
42  struct scheduler_plugin *);
43 
44 #endif
char * requirements_plugin(kb_t, struct scheduler_plugin *)
Determine if the plugin requirements are met.
Definition: plugs_req.c:320
struct arglist * requirements_common_ports(struct scheduler_plugin *, struct scheduler_plugin *)
Returns <port> if the lists of the required ports between.
Definition: plugs_req.c:95
int mandatory_requirements_met(kb_t, struct scheduler_plugin *)
Check whether mandatory requirements for plugin are met.
Definition: plugs_req.c:299