Commit | Line | Data |
---|---|---|
a5fd9b03 MD |
1 | /* |
2 | * Copyright (C) 2009 Pierre-Marc Fournier | |
3 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; version 2.1 of | |
8 | * the License. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | */ | |
19 | ||
20 | #ifndef _UST_H | |
21 | #define _UST_H | |
22 | ||
1ea2c2df MD |
23 | #ifdef __cplusplus |
24 | extern "C" { | |
25 | #endif | |
26 | ||
a5fd9b03 MD |
27 | typedef struct ust_fork_info { |
28 | sigset_t orig_sigs; | |
29 | } ust_fork_info_t; | |
30 | ||
31 | extern void ust_before_fork(ust_fork_info_t *fork_info); | |
32 | extern void ust_after_fork_parent(ust_fork_info_t *fork_info); | |
33 | extern void ust_after_fork_child(ust_fork_info_t *fork_info); | |
34 | ||
1ea2c2df MD |
35 | #ifdef __cplusplus |
36 | } | |
37 | #endif | |
38 | ||
a5fd9b03 | 39 | #endif /* _UST_H */ |