OpenVAS Scanner  21.4.1
sighand.h
Go to the documentation of this file.
1 /* Portions Copyright (C) 2009-2021 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_SIGHAND_H
27 #define _OPENVAS_SIGHAND_H
28 
29 void (*openvas_signal (int signum, void (*handler) (int))) (int);
30 void
31 
32 sighand_chld (int sig);
33 
34 void
35 sighand_segv (int sig);
36 
37 void
38 let_em_die (int pid);
39 void
40 make_em_die (int sig);
41 #endif
static pid_t pid
Definition: nasl_cmd_exec.c:51
void(*)(int) openvas_signal(int signum, void(*handler)(int))
Definition: sighand.h:29
void sighand_segv(int sig)
Definition: sighand.c:129
void let_em_die(int pid)
Definition: sighand.c:40
void sighand_chld(int sig)
Definition: sighand.c:103
void make_em_die(int sig)
Definition: sighand.c:48