2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
6 * Babeltrace - File descriptor cache
9 #ifndef BABELTRACE_FD_CACHE_INTERNAL_H
10 #define BABELTRACE_FD_CACHE_INTERNAL_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
)
30 int bt_fd_cache_init(struct bt_fd_cache
*fdc
, int log_level
);
33 void bt_fd_cache_fini(struct bt_fd_cache
*fdc
);
36 struct bt_fd_cache_handle
*bt_fd_cache_get_handle(struct bt_fd_cache
*fdc
,
40 void bt_fd_cache_put_handle(struct bt_fd_cache
*fdc
,
41 struct bt_fd_cache_handle
*handle
);
43 #endif /* BABELTRACE_FD_CACHE_INTERNAL_H */
This page took 0.030015 seconds and 4 git commands to generate.