refc_binary.hļ
Include dependency graph for refc_binary.h:
This graph shows which files directly or indirectly include refc_binary.h:
Defines
-
TYPEDEF_CONTEXT
Typedefs
-
typedef struct Context Context
Functions
-
struct RefcBinary *refc_binary_create_resource(size_t size, struct ResourceType *resource_type)
-
static inline struct RefcBinary *refc_binary_create_refc(size_t size)ļ
-
const char *refc_binary_get_data(const struct RefcBinary *ptr)
-
struct RefcBinary *refc_binary_from_data(void *ptr)
-
void refc_binary_increment_refcount(struct RefcBinary *ptr)
-
bool refc_binary_decrement_refcount(struct RefcBinary *ptr, GlobalContext *global)
-
void refc_binary_destroy(struct RefcBinary *refc, struct GlobalContext *global)
-
size_t refc_binary_total_size(Context *ctx)
-
struct RefcBinary
Collaboration diagram for RefcBinary:
Public Members
-
struct ListHead head
- size_t ATOMIC ref_count
-
size_t size
-
struct ResourceType *resource_type
-
uint8_t data[]
-
struct ListHead head