Add ust.h
[lttng-ust.git] / include / ust / ust.h
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
23 typedef struct ust_fork_info {
24 sigset_t orig_sigs;
25 } ust_fork_info_t;
26
27 extern void ust_before_fork(ust_fork_info_t *fork_info);
28 extern void ust_after_fork_parent(ust_fork_info_t *fork_info);
29 extern void ust_after_fork_child(ust_fork_info_t *fork_info);
30
31 #endif /* _UST_H */
This page took 0.030986 seconds and 5 git commands to generate.