Commit | Line | Data |
---|---|---|
4063050c MD |
1 | #ifndef _LTTNG_FD_LIMIT_H |
2 | #define _LTTNG_FD_LIMIT_H | |
3 | ||
4 | /* | |
ab5be9fa | 5 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
4063050c | 6 | * |
ab5be9fa | 7 | * SPDX-License-Identifier: GPL-2.0-only |
4063050c | 8 | * |
4063050c MD |
9 | */ |
10 | ||
11 | enum lttng_fd_type { | |
12 | LTTNG_FD_APPS, | |
13 | LTTNG_FD_NR_TYPES, | |
14 | }; | |
15 | ||
16 | int lttng_fd_get(enum lttng_fd_type type, unsigned int nr); | |
17 | void lttng_fd_put(enum lttng_fd_type type, unsigned int nr); | |
18 | void lttng_fd_init(void); | |
19 | ||
20 | #endif /* _LTTNG_FD_LIMIT_H */ |