free(handle);
}
-LTTNG_HIDDEN
struct fd_handle *fd_handle_create(int fd)
{
struct fd_handle *handle = NULL;
return handle;
}
-LTTNG_HIDDEN
void fd_handle_get(struct fd_handle *handle)
{
if (!handle) {
urcu_ref_get(&handle->ref);
}
-LTTNG_HIDDEN
void fd_handle_put(struct fd_handle *handle)
{
if (!handle) {
urcu_ref_put(&handle->ref, fd_handle_release);
}
-LTTNG_HIDDEN
int fd_handle_get_fd(struct fd_handle *handle)
{
LTTNG_ASSERT(handle);
return handle->fd;
}
-LTTNG_HIDDEN
struct fd_handle *fd_handle_copy(const struct fd_handle *handle)
{
struct fd_handle *new_handle = NULL;