Fix: lttng: out-of-bound copy of arguments in 'view' command handler
[lttng-tools.git] / src / bin / lttng-sessiond / fd-limit.h
1 #ifndef _LTTNG_FD_LIMIT_H
2 #define _LTTNG_FD_LIMIT_H
3
4 /*
5 * Copyright (C) 2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License, version 2 only,
9 * 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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 enum lttng_fd_type {
22 LTTNG_FD_APPS,
23 LTTNG_FD_NR_TYPES,
24 };
25
26 int lttng_fd_get(enum lttng_fd_type type, unsigned int nr);
27 void lttng_fd_put(enum lttng_fd_type type, unsigned int nr);
28 void lttng_fd_init(void);
29
30 #endif /* _LTTNG_FD_LIMIT_H */
This page took 0.036948 seconds and 4 git commands to generate.