OpenVAS Scanner
7.0.1~git
hosts.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 HOSTS_H
27
#define HOSTS_H
28
29
#include "../misc/scanneraux.h"
30
31
int
32
hosts_init
(
int
);
33
34
int
35
hosts_new
(
char
*, kb_t);
36
37
int
38
hosts_set_pid
(
char
*, pid_t);
39
40
int
41
hosts_read
(
void
);
42
43
void
44
hosts_stop_all
(
void
);
45
46
#endif
hosts_stop_all
void hosts_stop_all(void)
Definition:
hosts.c:211
hosts_new
int hosts_new(char *, kb_t)
Definition:
hosts.c:160
hosts_set_pid
int hosts_set_pid(char *, pid_t)
Definition:
hosts.c:185
hosts_read
int hosts_read(void)
Returns -1 if client asked to stop all tests or connection was lost or error. 0 otherwise.
Definition:
hosts.c:271
hosts_init
int hosts_init(int)
Definition:
hosts.c:153
src
hosts.h
Generated on Sat May 23 2020 00:00:00 for OpenVAS Scanner by
1.8.17