new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / headers / sig_op.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All right reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 /* Functions to handle signal manipulation */
11
12 #ifndef __SIG_H
13 #define __SIG_H
14
15 void HandleSIG(int sig) __attribute__((noreturn));
16 void HandleSIGPIPE(int sig);
17
18 /* Start signal manipulation */
19 void StartSIG(const char *process_name) __attribute__((nonnull));
20
21 /* Start signal manipulation -- function as an argument */
22 void StartSIG2(const char *process_name, void (*func)(int)) __attribute__((nonnull));
23
24 #endif
25