6d1e4c100af451ac6188d1487a21dd964f15015f
2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
6 * Babeltrace - File descriptor cache
9 #ifndef BABELTRACE_FD_CACHE_FD_CACHE_H
10 #define BABELTRACE_FD_CACHE_FD_CACHE_H
12 #include "common/macros.h"
14 struct bt_fd_cache_handle
{
24 int bt_fd_cache_handle_get_fd(struct bt_fd_cache_handle
*handle
)
29 int bt_fd_cache_init(struct bt_fd_cache
*fdc
, int log_level
);
31 void bt_fd_cache_fini(struct bt_fd_cache
*fdc
);
33 struct bt_fd_cache_handle
*bt_fd_cache_get_handle(struct bt_fd_cache
*fdc
,
36 void bt_fd_cache_put_handle(struct bt_fd_cache
*fdc
,
37 struct bt_fd_cache_handle
*handle
);
39 #endif /* BABELTRACE_FD_CACHE_FD_CACHE_H */
This page took 0.032129 seconds and 5 git commands to generate.