OpenVAS Scanner
7.0.0~git
utils.h
Go to the documentation of this file.
1
/* Portions Copyright (C) 2009-2019 Greenbone Networks GmbH
2
* Portions Copyright (C) 2006 Software in the Public Interest, Inc.
3
* Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
4
*
5
* SPDX-License-Identifier: GPL-2.0-only
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* version 2 as published by the Free Software Foundation.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
26
#ifndef _OPENVAS_UTILS_H
27
#define _OPENVAS_UTILS_H
28
29
#include <sys/types.h>
/* for pid_t */
30
31
int
32
get_max_hosts_number
(
void
);
33
34
int
35
get_max_checks_number
(
void
);
36
37
int
process_alive
(pid_t);
38
39
int
40
data_left
(
int
);
41
42
void
43
wait_for_children1
(
void
);
44
45
int
46
is_scanner_only_pref
(
const
char
*);
47
48
int
49
store_file
(
struct
scan_globals
*,
const
char
*,
const
char
*);
50
51
#endif
get_max_hosts_number
int get_max_hosts_number(void)
Definition:
utils.c:143
store_file
int store_file(struct scan_globals *, const char *, const char *)
Stores a file type preference in a hash table.
Definition:
utils.c:110
get_max_checks_number
int get_max_checks_number(void)
Definition:
utils.c:174
process_alive
int process_alive(pid_t)
Definition:
utils.c:204
scan_globals
Definition:
scanneraux.h:32
wait_for_children1
void wait_for_children1(void)
Definition:
utils.c:224
data_left
int data_left(int)
Definition:
utils.c:216
is_scanner_only_pref
int is_scanner_only_pref(const char *)
Definition:
utils.c:243
src
utils.h
Generated on Wed Jan 29 2020 00:00:00 for OpenVAS Scanner by
1.8.17