SimGrid  3.14.159
Versatile Simulation of Distributed Systems
dict_elm.c File Reference
#include "dict_private.h"

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_dict_elm, xbt_dict, "Dictionaries internals")
 
xbt_dictelm_t xbt_dictelm_new (xbt_dict_t dict, const char *key, int key_len, unsigned int hash_code, void *content, void_f_pvoid_t free_f)
 
void xbt_dictelm_free (xbt_dict_t dict, xbt_dictelm_t element)
 
void xbt_dictelm_set_data (xbt_dict_t dict, xbt_dictelm_t element, void *data, void_f_pvoid_t free_ctn)
 
voiddict_elm_mallocator_new_f (void)
 
voiddict_het_elm_mallocator_new_f (void)
 

Variables

xbt_mallocator_t dict_elm_mallocator = NULL
 
xbt_mallocator_t dict_het_elm_mallocator = NULL
 

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( xbt_dict_elm  ,
xbt_dict  ,
"Dictionaries internals"   
)

◆ xbt_dictelm_new()

xbt_dictelm_t xbt_dictelm_new ( xbt_dict_t  dict,
const char *  key,
int  key_len,
unsigned int  hash_code,
void content,
void_f_pvoid_t  free_f 
)

◆ xbt_dictelm_free()

void xbt_dictelm_free ( xbt_dict_t  dict,
xbt_dictelm_t  element 
)

◆ xbt_dictelm_set_data()

void xbt_dictelm_set_data ( xbt_dict_t  dict,
xbt_dictelm_t  element,
void data,
void_f_pvoid_t  free_ctn 
)

◆ dict_elm_mallocator_new_f()

void* dict_elm_mallocator_new_f ( void  )

◆ dict_het_elm_mallocator_new_f()

void* dict_het_elm_mallocator_new_f ( void  )

Variable Documentation

◆ dict_elm_mallocator

xbt_mallocator_t dict_elm_mallocator = NULL

◆ dict_het_elm_mallocator

xbt_mallocator_t dict_het_elm_mallocator = NULL