1#pragma once
2
3#include <uacpi/types.h>
4
5void uacpi_shareable_init(uacpi_handle);
6
7uacpi_bool uacpi_bugged_shareable(uacpi_handle);
8void uacpi_make_shareable_bugged(uacpi_handle);
9
10uacpi_u32 uacpi_shareable_ref(uacpi_handle);
11uacpi_u32 uacpi_shareable_unref(uacpi_handle);
12
13void uacpi_shareable_unref_and_delete_if_last(
14 uacpi_handle, void (*do_free)(uacpi_handle)
15);
16
17uacpi_u32 uacpi_shareable_refcount(uacpi_handle);
18